OIM REST API Doesn't Authorize OAM SAML Token throws "Unauthorized' error
Last updated on MAY 18, 2018
Applies to:Oracle Access Manager - Version 184.108.40.206.180116 and later
Information in this document applies to any platform.
On : 220.127.116.11.180116 version, OAM and OIM 18.104.22.168.0.
OIM REST API doesn't authorize OAM SAML Token
OIM server does not authorize the user, it thows "Unauthorized' error.
The issue can be reproduced at will with the following steps:
1. Followed : Oracle A-Team's blog "http://www.ateam-oracle.com/authenticating-to-the-oig-rest-api-from-an-oam-protected-web-app/".
2. Added following in EM:
3. Updated OUDAuthenticator's user name attribute to iamguid.
4. uid is the attribute with which user logs in, and iamguid is the attribute that forms the DN.
5. If a user's uid and iamguid are different, the OIM is unable to search the user, but if both the attributes are the same, the OIM is able to get the user.
Actual use-case fails:
A test use-case passed:
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