jupyterhub / oauthenticator

OAuth + JupyterHub Authenticator = OAuthenticator
https://oauthenticator.readthedocs.io
BSD 3-Clause "New" or "Revised" License
413 stars 365 forks source link

Suggest possible config fix when correct scopes aren't requested #721

Closed yuvipanda closed 6 months ago

yuvipanda commented 8 months ago

If the hub config doesn't contain appropriate scopes to request from the provider, the token we retrieve may not have the key we are using as username_claim. This is the most common reason that username_claim is not present in the token. Add a simple debugging hint here to make lives of hub admins easier.

yuvipanda commented 6 months ago

I think it's ok to just mention the concept, rather than the specific config.