I am using Okta’s sign-in widget
once user signs in I get session token in my javascript. The i send it to my backend to verify and “completely” login user.
How can i get user’s information if have session token
Im trying to use GetCurrentUser api but it needs “api_token” and i am not sure where to get it.
Docs say “Fetches the current user linked to API token or session cookie”
But i have only session token.
Thanks, but once user signed in i want to send token to back end and get user information (the one that is returned by getUserInfo) via Okta’s APIs.
I can not find one that would take session token.