ueberauth_auth0
ueberauth_auth0 copied to clipboard
Replace API calls to `/userinfo` with payload from id_token
We are going above Auth0's rate limits on a daily basis.
After some investigation we realised that the ueberauth_auth0 was making API calls to the /userinfo endpoint every time someone logs in (on callback).
We actually don't need to do this as the user info is returned in the id_token.
The id_token follows the the JWT standard.
BTW, have you seen the #175 PR ? It could give you some ideas about your feature ;)
@taj In ran the CI but it's red because of a few things :) Have you checked the PR of the previous comment ? It could help ;)
@taj In ran the CI but it's red because of a few things :) Have you checked the PR of the previous comment ? It could help ;)
Hey @achedeuzot, sorry was on holiday for the past week, I will try to fix everything this week! :)