Asp.net and angular

Hi

I have an asp.net application and i have implemented okta redirect authentication in it. There are some angular application which are redirected from asp.net application(navigation to angular from asp.net links). My requirement is to validate the token in angular application that he is thru okta.

Hi Team Any update on this. I need to validate token in angular application. pls provide sample

What is your user case and the issue you are facing right now?

Hi @andrea My issue is, I have been redirected from ASP,Net application(in which i have implemented OKTA) to an angular SPA. I can pass the ID token from asp.net application to angular application via session storage. In angular application I am not having a log in or a callback page. Based on the Idtoken I have to call OKTA and validate the token and create authstate in my angular application.

What is the goal of receiving the token at SPA? Is this an SSO use case, where the SPA is a second OIDC application with its own Client ID within Okta? If so, why not have the SPA request its own set of tokens (users won’t be prompted to re-authenticate if they already have an Okta session from logging into the .NET app)?

They share the same client id. The problem is i cant create a call back page.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.