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

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!