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

Fix crash when using try await credential.revoke() if removal from token storage fails #174

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

mikenachbaur-okta
Copy link
Contributor

@mikenachbaur-okta mikenachbaur-okta commented Feb 17, 2024

Ensures completion blocks are called appropriately when removing tokens from storage fails after a successful revoke

In these cases, the completion block could be called multiple times, which breaks the swift concurrency lifecycle.

This fixes #169

…s from storage fails after a successful revoke

In these cases, the completion block could be called multiple times, which breaks the swift concurrency lifecycle.
@mikenachbaur-okta mikenachbaur-okta merged commit c78705b into master Feb 20, 2024
7 checks passed
@mikenachbaur-okta mikenachbaur-okta deleted the OKTA-697116 branch February 20, 2024 19:23
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.

Crash on CheckedContinuation using await Credential.revoke()
3 participants