Auth0 Home Blog Docs

SSO with Angular2 ?



I am trying to create a single sign on solution in my web app with angular 2. I have two app : First i logged in with angularjs 1.x app, then i want to implement a getSSoData in my angular 2 app to get the same token_id genrated by the first app (angular 1.x). Any thoughts are welcome.


The currently recommended approach for SSO is to make use of the prompt=none option available as part of OIDC compliant API in order for an application to try to authenticate a user based on an already existing session at the identity provider.

There is nothing technology specific around SSO so applying this to Angular 2 or similar frameworks should not be very different. You can read more about SSO in general and the prompt=none support (aka silent authentication) in the following documentation pages: