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

revoke_token_params & revoke_token_headers are missing for GooglePlusAuth #484

Closed
epetxepe opened this issue Jan 13, 2015 · 1 comment
Closed

Comments

@epetxepe
Copy link

Disconnect with revoke (SOCIAL_AUTH_REVOKE_TOKENS_ON_DISCONNECT = True) is giving me errors because the params and headers for revoke are not being filled.

In "backends/google.py" GooglePlusAuth is missing revoke_token_params & revoke_token_headers, and it is taking the default ones which fills them with empty values.

Filling with the Google Oauth2 values it works well:

def revoke_token_params(self, token, uid):
return {'token': token}

def revoke_token_headers(self, token, uid):
return {'Content-type': 'application/json'}

@omab
Copy link
Owner

omab commented Apr 8, 2015

Revoke methods moved to the base class.

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

2 participants