foxworth42/oauth2-okta

Parsing User Profile From JWT

Opened this issue · 0 comments

meddy commented

This is a question about design. I noticed in your OAuth provider that you fetch the user's profile using the /userinfo endpoint of the Okta API. Assuming you are using OpenID connect, wouldn't it make more sense to get the user profile by parsing the token using https://github.com/okta/okta-jwt-verifier-php?

Just curious if I'm making a bad assumption here.