Calling OIC Services Using Basic Authentication Fails With Error "401 - Unauthorized" When IDCS Configured With 2-Factor Authentication
(Doc ID 2795093.1)
Last updated on APRIL 18, 2024
Applies to:
Oracle Integration-OIC - Version 21.2.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : 21.2.2.0.0 version, Integration UI/API
When Cloud environment IDCS is configured with two-factor authentication (for eg. Username / password + MFA ), using basic authentication to invoke OIC services fails with error.
ERROR
-----------------------
401-Unauthorized
Logs shows error:
<Jul 27, 2021 4:42:36,075 PM UTC> <Error> <oracle.wsm.resources.security> <BEA-000000> <Login Exception: Authentication failure: The specified user failed to log in: javax.security.auth.login.AccountException: IDCS verify user query with user name attribute [] failed!., Failed due to : Authentication failure: The specified user failed to log in: javax.security.auth.login.AccountException: IDCS verify user query with user name attribute [] failed!.>
<Jul 27, 2021 4:42:36,076 PM UTC> <Error> <oracle.wsm.resources.security> <BEA-000000> <WSM-00045, Failed due to : oracle.wsm.security.SecurityException: WSM-00423 : Web service authentication failed..>
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Call any REST integration / REST API from any client tool (for eg. Postman)
Cause
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
Symptoms |
Cause |
Solution |