Last updated on JUNE 20, 2017
Applies to:Identity Manager - Version 184.108.40.206.170117 and later
Information in this document applies to any platform.
This pertains to the Swagger JSON published at the location for the rest apis. https://docs.oracle.com/cd/E52734_01/oim/OIGSS/swagger.json
Documentation at https://docs.oracle.com/cd/E52734_01/oim/OIGSS/Authentication.html says "OIG Self Service REST supports authentication via OWSM. Basic Auth, OIG JWT Service, OAM, and so on are supported."
The issue is that this JSON file is missing the security information (specifically the securityDefinitions) to mention the types of Security we have to use or which Security Definition applies to which end point. Due to the above, the swagger client which is generated and classes specially the ApiClient is wrongly generated.
The setUsername and setPassword have no effect because of the following:
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