Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
fetch sso / authentication token — Cloud Customer Connect
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

fetch sso / authentication token

Received Response
15
Views
2
Comments
edited Oct 16, 2018 2:23PM in Content Management 2 comments

Summary

fetch sso / authentication token

Content

Hi

If a site is protected (http://hostname/.../authsite/mysite) in CEC we get login page by default and on login we are able to access published site. But from custom component if we need to make ajax http call how do we obtain token?

In general, are there any APIs for making authentication call to IDCS and to get OAuth token? Is there any JS wrapper API that can be leveraged by component admins

Earlier I got response from from  Igor Polyakov that

Sites page or any component on the page has access to HTML request object which you can use to obtain login token created by IDCS web gate. IDCS does have REST API - 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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