Hello,
I am trying to figure out the solution to create a cookie on the user’s browser using Session Token received by calling the Authentication API from my .Net MVC application.
I m trying to use this method for setting up the cookie in User’s browser.
" Retrieving a session cookie via OpenID Connect Authorization Endpoint"
https://developer.okta.com/docs/guides/session-cookie/overview/#retrieving-a-session-cookie-via-openid-connect-authorization-endpoint
Can someone please advise or share a sample code which does this ?
My application is MVC .Net application.
I would like to achieve 2 things.
- Set the cookie in the User’s browser for SSO purpose
- Validate the login Session on all the pages of the application until User is logged in.
Thank you in advance for your time.