demo-oauth-client icon indicating copy to clipboard operation
demo-oauth-client copied to clipboard

Django example not working

Open angeltoribio-UPC-BCN opened this issue 3 years ago • 0 comments

I've made the example work by changing at

https://github.com/authlib/demo-oauth-client/blob/master/django-google-login/project/views.py#L31

user = oauth.google.parse_id_token(request, token)

to

user = oauth.google.parse_id_token(token, None)

angeltoribio-UPC-BCN avatar Mar 30 '22 07:03 angeltoribio-UPC-BCN