You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using django-oauth-toolkit along with python-social-auth and of course oauthlib which is a requirement of both, and I've run into an issue when the user clicks the "cancel" button.
The wrong exception may occur because of a redirect problem. When the user clicks "cancel", if the redirect_uri contains any URL parameters, an incorrect state error is given instead of AuthCanceled, because the URI ends up something like: