Related Github Documents
Document Properties
Kbid2N9725
Last Modified03-Dec-2020
Added to KB03-Dec-2020
Public AccessEveryone
StatusOnline
Doc TypeGuidelines, Concepts & Cookbooks
ProductIntershop Progressive Web App

Concept - Intershop Progressive Web App - Single Sign-On (SSO) for PWA

Single Sign-On (SSO) for PWA

Intershop Commerce Management supports logging in clients via SSO (see Concept - Single Sign-On (SSO)).

The PWA uses the library angular-oauth2-oidc to support an easy configuration for providing access to identity providers.
After setting up the ICM side with the identity provider, an implementation for the interface IdentityProvider, provided in the IdentityProviderModule, has to be added.

For development purposes the configuration can be added to the Angular CLI environment files:

  identityProvider: 'MyProvider',
  identityProviders: {
    'MyProvider': {
      type: 'auth0',
      domain: 'some-domain.auth0.com',
      clientID: 'ASDF12345',
    }
  },

For production, this configuration should be provided to the SSR process via environment variables (see Building and Running Server-Side Rendering).
The usage of identity providers can also be set in the multi-channel configuration (see Building and Running nginx Docker Image).

Further References

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets