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?
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
andcode
that's in the callback URL?