You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC REST Adapter: Unable to send request to get access token

Hi,

I'm trying to configure OIC Rest adapter connection with OAuth custom 2 legged security. Initially this worked for 2-3 weeks and suddenly stops working (no change made to connection).

Error during test connection:

  • CASDK-0004: Failed to authenticate against the application with the credentials provided . Error details: Cannot request OAuth access token. Unable to send request to [ https://h****.com:8200/v1/auth/approle/login ] to get access token. null: Exception occurred while executing request https: //h****.com:8200/v1/auth/approle/login

The connection uses access token request in this format:

-X POST -H 'Content-Type: application/x-www-form-urlencoded' -H 'X-Vault-Namespace: ${security_field_1}' -d 'role_id=${security_field_2}' -d 'secret_id=${security_field_3}' https: //h****.com:8200/v1/auth/approle/login

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!