IDCS access/bearer token through WS/Groovy
Summary
IDCS access/bearer token through WS/GroovyContent
Hi,
Anyone has experience on how to configure WS to get access/bearer token from IDCS? Here is what we need,
- Configure the IDCS WS in App Composer
- Use the WS in Groovy to retrieve token
This is the cURL I use to retrieve token successfully. I wonder what parameters I need to put in WS in App Composer.
curl -H "Authorization: Basic ZDczZDE1ODFkMTQwNDUyZjhlNzlmMDAzNjcyMDk3MTE6NDFiMTU5YTYtZTQxMy00MjJhLWE4ZDQtODY4NjFlNjczOG12" -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" --request POST https://idcs-1234529384b14fe8b271f1fb72c41aaa.identity.oraclecloud.com/oauth2/v1/token
Tagged:
0