mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
fix: oidc token generation endpoint GET -> POST
This commit is contained in:
@@ -220,7 +220,7 @@ class Windmill:
|
||||
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
|
||||
return self.post(f"/w/{self.workspace}/oidc/token/{audience}").text
|
||||
|
||||
def get_job_status(self, job_id: str) -> JobStatus:
|
||||
job = self.get_job(job_id)
|
||||
|
||||
Reference in New Issue
Block a user