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

IDCS access/bearer token through WS/Groovy

edited Apr 18, 2020 12:30AM in Fusion Service 1 comment

Summary

IDCS access/bearer token through WS/Groovy

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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