Auth0 is a great authentication solution that we use in most of our apps (including Apex Designer itself). The Auth0 Angular library provides a pre-built integration to Auth0 for your app. The library includes:
- Apex Auth Access Dialog that is displayed if the user does not have access to a page
- An Auth Guard to protect routes based on the user's roles
- An HTTP Interceptor that adds the access token to http calls
- An Auth Service which handles the integration with Auth0
- The @auth0/auth0-spa-js npm dependency
The Auth0 Angular library depends on the Auth0 Loopback 4 library.