mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
feat: OIDC support (#3017)
* oidc * update * feat: add support for multiselect in python * d * d * progress * all * all * all
This commit is contained in:
@@ -0,0 +1 @@
|
||||
windmill-api/
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
@@ -219,6 +219,9 @@ class Windmill:
|
||||
def get_job(self, job_id: str) -> dict:
|
||||
return self.get(f"/w/{self.workspace}/jobs_u/get/{job_id}").json()
|
||||
|
||||
def get_id_token(self, audience: str) -> dict:
|
||||
return self.get(f"/w/{self.workspace}/oidc/token/{audience}").text
|
||||
|
||||
def get_job_status(self, job_id: str) -> JobStatus:
|
||||
job = self.get_job(job_id)
|
||||
job_type = job.get("type", "")
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user