feat: OIDC support (#3017)

* oidc

* update

* feat: add support for multiselect in python

* d

* d

* progress

* all

* all

* all
This commit is contained in:
Ruben Fiszel
2024-01-16 23:32:26 +01:00
committed by GitHub
parent f8954b2ceb
commit 640ebcb146
29 changed files with 724 additions and 39 deletions

View File

@@ -0,0 +1 @@
windmill-api/

Binary file not shown.

Binary file not shown.

View File

@@ -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.