omniauth / omniauth-okta

OAuth2 strategy for Okta
MIT License
41 stars 37 forks source link

How to access user_info? #33

Open KillWolf opened 1 year ago

KillWolf commented 1 year ago

Hello,

We have opted for a SETUP_PROC when handling multi-tenancy for Okta. This means, however, we need to access the user info BEFORE we get to the omniauth callbacks controller.

Since the gem can actually access the user info, is there a more low level way of retrieving the user information from the returned state and code that's in the callback URL?