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: add context-cancel support in callback-wait #57

Merged
merged 1 commit into from
Sep 26, 2022
Merged

Conversation

spy16
Copy link
Contributor

@spy16 spy16 commented Sep 26, 2022

When the OIDC token-source is waiting for browser redirection to redirect_url from the authorization-server, there was no way to cancel and it would hang until a redirection callback is received.

With this change, context cancellation will stop the waitForCallback and gracefully returns.

@spy16 spy16 requested review from mabdh and ravisuhag September 26, 2022 05:59
@ravisuhag ravisuhag merged commit 5280baa into main Sep 26, 2022
@ravisuhag ravisuhag deleted the cancel-oidc branch September 26, 2022 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants