ymalhotra.1

SPA( ajax based ) application using OAuth

Discussion created by ymalhotra.1 on Oct 7, 2016

Hi,

 

We have a single page application that is integrated with WAM.    Use gets authenticated and gets smession cookie in browser. SPA uses javascript to call services using http headers generated as part of authentication with WAM.

 

Questions:- 

1.If services are moved to OAUTH model( services require OAUTH access token for access ) exposed via API Gateway,  how existing smsession can be leveraged to generate OAuth token so that service can be accessed through javascript on SPA.

 

Thanks and Regards,

Yatin..

Outcomes