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
0