Open 5no0p opened 1 year ago
Opened PR yesterday that fixes this small issue: https://github.com/iMerica/dj-rest-auth/pull/482
@sp-luciano-chinke have you verified that the fix actually working? I'm getting 'Invalid id_token' with this approach, but it could be something on my side.
In my case the issue was in allauth 0.52 version, they updated GoogleOauth2 provider (I believe to use id_token instead of access_token). So if you face with problem mentioned in issue - try to return to allauth 0.51
If you want to upgrade to allauth >=0.52 but want to stick with the access token instead of the id token, consider modifying your client code and switching to the auth-code flow instead of the implicit flow.
Note that there's currently a bug in dj-rest-auth >=2.2.8 and later using the auth-code flow, but there's a fix for this in https://github.com/iMerica/dj-rest-auth/pull/488.
I get this error when using google provider