Related Github Documents
Document Properties
Kbid
3056Z4
Last Modified
14-Jul-2022
Added to KB
27-Aug-2022
Public Access
Everyone
Status
Online
Doc Type
Guidelines, Concepts & Cookbooks
Product
Intershop 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).

Business cases

Create new user

Authentication Provider Route in ICM email Behavior of PWA
ICM /invite Redirect to /forgotPassword/updatePassword
SSO /invite Redirect to SSO provider

User forgot password

Authentication Provider Route in ICM email Behavior of PWA
ICM /forgotPassword/updatePassword Show change password form
SSO /forgotPassword/updatePassword Redirect to SSO provider

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