I have implemented Embedded Sign-in widget in my .Net MVC application. AccessToken expire time set as 5 min in okta dashboard.
In case user spent time on my web application A for more than 5 min and after 5 min expiration same user try to login into web application B. I wanted user login into the web application B without asking for the password as user is still active by using web app A.
For that, I am trying to call /token endpoint to get the new AccessToken and ID token by using RefreshToken However, getting issue in calling the /token endpoint.
Tried *post man also but no success.
Please help me correcting the code sample I am using in dotnet ?
Can anyone please send a sample code for the implementation if possible ?