Verify already looged In User

Hi,

I have to verify already logged In user, my scenario is as below

  1. User Logged In into APP1 via OKTA SSO.
  2. APP1 calls another ASP.Net Core web API application for some calculation.
  3. Now ASP.Net Core web API wants to validate that user to make sure that it is valid OKTA user and it has scessfully logged in OKTA SSO.

Please suggest.

Regards,
Ashwini

Perhaps transaction state API (https://developer.okta.com/docs/api/resources/authn#get-transaction-state) or sessions API (https://developer.okta.com/docs/api/resources/sessions#get-current-session) could help