Generating OAM Resource specific access tokens using OAM Master Token
Hello,
I am trying to generate OAM Access tokens using OAuth API's.
I am able to retrieve OAM Master token and post decode url, I am able to set it as OAM_ID cookie on the browser.
I am not able to determine how to retrieve OAM Access Token, using Master Token and application-context.
All references, online and Oracle blogs, refer to -
"Obtain an OAM Access token using the OAM Credential Grant type and the OAM Master Token obtained earlier and by passing in the application context
The oracle_oam_application context is obtained from a ‘HTTP/1.1 401 Authorization required’ response obtained by simply making a GET request to the webgate protected resource. It is the value of the request-ctx variable in the 401 response. "