mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +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:
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", "")
|
||||
|
||||
Reference in New Issue
Block a user