My Oracle Support Banner

Getting Username From Oracle Access Manager 11g R2PS3 (OAM ASDK API By Passing Session Obtained From Cookie In Web Browser (Doc ID 2358565.1)

Last updated on SEPTEMBER 07, 2023

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.


Oracle Access Manager 11g R2PS3 (OAM

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:





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.