Getting Username From ASDK API By Passing Session Obtained From Cookie In Web Browser

(Doc ID 2358565.1)

Last updated on FEBRUARY 07, 2018

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


On : version, Authentication Engine

We are working on a POC, goal is to get username/userid by calling ASDK API using a valid user session obtained from Web browser's header trace.

Our App team will get OAM 11g session cookie value from browser and call ASDK API , where if cookie is valid , the username and status can be obtained.

We are trying to call OAM ASDK API from OAM_AuthnCookie (also tried OAM_ID) we obtained in Browser, but it doesn't work - we get "Authn token is either null or invalid" exception.

Code Snippet:



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms