I have .Net application which is trying to do silent login, without re-routing to okta’s login page. This was working till I upgraded my .Net framework to .Net Core 9.0. Post that I am getting the below error.
“Message contains error: ‘login_required’, error_description: ‘The client specified not to prompt, but the user is not logged in.’, error_uri: ‘error_uri is null’.”
That indicates to me that your application is sending prompt=none in its /authorize request. Are you currently using the /authn endpoint to receive a sessionToken and then sending that to /authorize?
Okay, but does it use a sessionToken in the authorize call and do you require additional MFA or re-authentication for this specific application in its assigned Authentication Policy, beyond what is required in the Org-level Global Session Policy?
If so, that error is 100% expected and you’ll want to check out the post I mentioned above about how to resolve it.
No we don’t have any additional MFA configured. But since it is a .NET Core 9.0 application, it is not directly calling the authorize call with session token. Instead it is using PAR call, to get the request_uri, which is then sent to authorize call with client id.