Hello @manuel.poelzl1 !
Hmm I think the docs might be mistaken in that all I would expect to see here is req.auth
- Typically, the user profile information is derived from the ID token which is not an option here given that the API only deals with the access token (which you see in req.auth
). That being said, you have 2 main options:
- Add the information you need as custom claim(s) in the access token by utilizing the
event.user
object. - Call the /userinfo endpoint of the Authentication API.
Hope this helps!