Skip to content

feat: add logout event hook - #1104

Merged
czgu merged 2 commits into
pinterest:masterfrom
czgu:auth
Dec 19, 2022
Merged

feat: add logout event hook#1104
czgu merged 2 commits into
pinterest:masterfrom
czgu:auth

Conversation

@czgu

@czgu czgu commented Dec 17, 2022

Copy link
Copy Markdown
Collaborator

when user logs out, allow auth module to provide additional callback before actually logging them out via flask_login
also fixed a bug where current_user.id is used for unauth endpoints

@czgu
czgu requested a review from jczhong84 December 17, 2022 01:30
@czgu
czgu marked this pull request as ready for review December 17, 2022 01:30
@czgu
czgu merged commit 1527ff3 into pinterest:master Dec 19, 2022
@czgu
czgu deleted the auth branch December 19, 2022 18:53
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Feb 28, 2023
* feat: add logout event hook

* Make sure refresh banner logs out user
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* feat: add logout event hook

* Make sure refresh banner logs out user
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