
StevenS.51581 (Customer) asked a question.
Hi,
What I'm trying to accomplish is this flow:
- Utilize the okta sign-in widget
- On successful response from the sign in widget grab the accessToken and email (or whatever is needed to accomplish what I'm thinking of trying)
- Make a call to my own API passing the accessToken and email
- In my API use that accessToken and email to make sure that user exists and the session is still active
- Depending on the response I receive in my API from Okta, continue with the logic I have or throw an error
- Return response to the browser and handle it accordingly
I've been trying to sign in with the widget and then utilizing what's returned to get a response from the Postman OpenID Connect collection and Sessions collection.
Any direction on how to handle this is appreciated.
Thank you!

I'm also seeing that if I pass the "sid" cookie into my postman calls the /sessions/me will return properly. But that's another issue since it's a header cookie and I can't grab it on the web browser to share with my API.
Hello @StevenS.51581 (Customer),
Thank you for posting,
Feel free to post this question on our Okta Developer Forums: https://devforum.okta.com,
and they should be able to help you with this.
Regards,
Natalia
Okta Inc.
Will do, thank you