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

Fixed OAuth2 account deletion #100

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

emmdurin
Copy link
Contributor

@emmdurin emmdurin commented Feb 2, 2024

When a OAuth2 user tries to delete its account from the console profile, this local account was immediately re-created when the user loads any page, even if he is redirected to the log out page.

I added a cache that can continue to serve last known user until he effectively logs out, and prevent it to be re-created until the user logs out. If he logs in again after, a new empty account will still be created, but it should not be a problem as a user which asks for account deletion should not try to log-in again, and if he does, most of its data have been deleted.

@fvanderbiest fvanderbiest merged commit 30bd221 into main Feb 6, 2024
3 checks passed
@fvanderbiest fvanderbiest deleted the oauth2_account_deletion branch February 6, 2024 16:48
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.

4 participants