Skip to content

fix(coderd): prevent oidc refresh being ignored #9293

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

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

coryb
Copy link
Contributor

@coryb coryb commented Aug 23, 2023

A recent refactor (#8950) caused the oidc refresh results to be ignored due to the lexical scoping of the link variable.

This should fix #9268

@cdr-bot cdr-bot bot added the community Pull Requests and issues created by the community. label Aug 23, 2023
A recent refactor (coder#8950) caused the oidc refresh results to be ignored
due to the lexical scoping of the `link` variable.
@coryb coryb changed the title fix(coderd): oidc refresh results are ignored fix(coderd): prevent oidc refresh being ignored Aug 23, 2023
Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

Great catch. I am working on better tests for this

@coadler coadler merged commit 113894c into coder:main Aug 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Pull Requests and issues created by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OIDC refresh tokens should not require user interaction (OR possibly need a clearer error message)
4 participants