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

Suggested way to handle deactivated users #683

Open
fliespl opened this issue Sep 11, 2021 · 0 comments
Open

Suggested way to handle deactivated users #683

fliespl opened this issue Sep 11, 2021 · 0 comments

Comments

@fliespl
Copy link

fliespl commented Sep 11, 2021

We are using oauth2 server to authorize our users into internal applications.

Till now - leaving employee was deactivated and his access_token + refresh_token removed (once access token expired after 3600 seconds he was logged out in internal applications).

I am curious if there is a better way to handle it. I.e. using UserChecker and fail to refresh token once deactivated user tries to refresh. Tokens would then expire naturally and clean itself within a command after specific time.

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

No branches or pull requests

1 participant