-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add avatar_src to the Panoptes JWT #4217
Comments
If it's as straightforward as adding panoptes/config/initializers/doorkeeper.rb Lines 75 to 82 in 889e845
|
I’m not sure about that previous comment, because |
This has come up while adding auth to the new Next.js app (zooniverse/front-end-monorepo#5459.) When we get a user from the Panoptes JWT, we don’t get the user avatar URL. |
This would also be helpful for the user stats and logged in homepage. |
Can we add
avatar_src
to the encoded payload of our web tokens, so that the front-end doesn't have to make an API request to get the URL for the user avatar?Related front-end PR: zooniverse/front-end-monorepo#4803
The text was updated successfully, but these errors were encountered: