mozilla / mozilla-django-oidc

A django OpenID Connect library
https://mozilla-django-oidc.readthedocs.io
Mozilla Public License 2.0
449 stars 168 forks source link

Couldn't get refresh_token back from Auth0 #462

Closed ymao2 closed 2 years ago

ymao2 commented 2 years ago

Our project use mozilla-django-oidc(2.0.0) to work with Auth0 platform, recently we want to use the refresh_token feature, and we configured the client setting on auth0 to allow refresh_token, but somehow we just couldn't get refresh_token back from auth0, we tried another authlib on a small app (which is used for python example on auth0 platform), we did get the refresh_toke back quite easily , I was wondering whether there is something I missed which cause this trouble.

The way we use mozilla-django-oidc is quite simple , we just followed the guide here.

thank you for any advices! if this is not the place for raising the query, feel free to close it and point me to the right place.

ymao2 commented 2 years ago

close this issue, found I somehow I had a typo in the scope and I didn't spot it 😳