Skip to content

Fix refreshing of OAuth2 tokens#1

Open
kohenkatz wants to merge 1 commit intocirmaciu:masterfrom
kohenkatz:patch-1
Open

Fix refreshing of OAuth2 tokens#1
kohenkatz wants to merge 1 commit intocirmaciu:masterfrom
kohenkatz:patch-1

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