-
Notifications
You must be signed in to change notification settings - Fork 854
feat: add query arg for oidc expiration #7312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Claude finished @hugocasa's task —— View job PR Review: Add OIDC Expiration Query ParameterSummaryThis PR adds the ability to customize OIDC token expiration times via an optional General Observations✅ Strengths
🔍 Areas for Improvement
🔒 Security Considerations
⚡ Performance ConsiderationsNo performance concerns. The changes are minimal and only add an optional parameter to existing endpoints. Testing InstructionsTo test the OIDC token expiration query parameter functionality, navigate to a workspace where OIDC is configured and create a script that calls the Overall Assessment: This is a solid PR that adds useful functionality. The suggested improvements in the inline comments are mostly documentation enhancements and minor refinements rather than critical issues. The code quality is good and the implementation is sound. |
| * @returns jwt token | ||
| */ | ||
| export async function getIdToken(audience: string): Promise<string> { | ||
| export async function getIdToken(audience: string, expiresIn?: number): Promise<string> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good addition of the JSDoc comment for the new parameter!
One minor consistency note: The Python client uses expires_in: int | None while TypeScript uses expiresIn?: number. While this follows each language's conventions (snake_case for Python, camelCase for TypeScript), it's worth noting this difference in case it affects any cross-language documentation or API consistency guidelines your team follows.
Deploying windmill with
|
| Latest commit: |
b28c2ad
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bea2e138.windmill.pages.dev |
| Branch Preview URL: | https://hc-oidc-exp-query-arg.windmill.pages.dev |
|
/eeref |
|
Starting ee ref update... |
|
Successfully updated ee-repo-ref.txt |
|
/eeref |
|
Starting ee ref update... |
|
Successfully updated ee-repo-ref.txt |
No description provided.