danestves / remix-auth-auth0

An Auth0Strategy for Remix Auth, based on the OAuth2Strategy
MIT License
121 stars 22 forks source link

The scope is being passed through to the id endpoint #73

Closed dan-cooke closed 2 years ago

dan-cooke commented 2 years ago

Describe the bug

When a scope is passed to the constructor.

This scope is seemingly also sent to the ID endpoint, which is a bug - because the ID endpoint does not support offline_access

So this means the user profile cannot be fetched alongside refresh tokens

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

N/A

Expected behavior

N/A

Screenshots or Videos

No response

Platform

Additional context

N/A

dan-cooke commented 2 years ago

This is expected behaviour, the reason my ID request is failing is because i forgot to include the openid scopes in my constructor