fetch sso / authentication token
Summaryfetch sso / authentication token
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 -