Skip to content
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

feat(api): add OIDC refresh token support to chalk #51

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

MyNameIsMeerkat
Copy link
Contributor

Issue

#50

Description

Added OIDC refresh token support to chalk to allow transparent exchange of refresh token for a new access token when it has expired.

Testing

Running chalk --trace setup will exercise the code pathway to authenticate and get issued a new access token and refresh token. The dev instance of the secret-manager and it's authentication service have been set to have access token lifetimes of 60 seconds to aid in testing.

Copy link
Contributor

@viega viega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I was just noticing that after I ran chalk setup and then tried to chalk executables, we no longer go through the signing process. I'm not quite sure why that is, but could you incorporate that into the other PR?

@MyNameIsMeerkat
Copy link
Contributor Author

Yeah let me see what is going on. I will hold off merging either PR until I know what the resolution needs to be.

@MyNameIsMeerkat
Copy link
Contributor Author

#52 resolved so squash-mergiung this to main

@MyNameIsMeerkat MyNameIsMeerkat merged commit f671841 into main Oct 11, 2023
@MyNameIsMeerkat MyNameIsMeerkat deleted the mynameismeerkat/oidc_refresh_tokeNs branch October 11, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants