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 refreshing of OAuth2 tokens #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kohenkatz
Copy link

This is a copy of SkyLothar#16

Sentry has a background job that checks the state of all OAuth2 identities. If the OAuth2 refresh protocol doesn't work, it marks the identity as needing to reauthenticate. This causes frequent logouts from the Sentry web interface.

This PR allows the refresh protocol to have access to the CLIENT_ID and CLIENT_SECRET by setting their class properties properly.

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.

1 participant