Roles and token should hide certain features based on roles Should use https://www.npmjs.com/package/angular-auth-oidc-client --- The high level flow [ App Launch ] │ ▼ Fetch /api/config/auth ────────► Init OIDC Library (angular-auth-oidc-client) │ ▼ Check Auth Session ───────► Not Logged In? ──► Redirect to IdP │ ▼ (Logged In) Attach Bearer Token to HttpInterceptor │ ▼ Navigate to /projects/:id │ ▼ Fetch /api/projects/:id/my-permissions ──► Store in Angular Signal │ ▼ Render UI (*appHasPermission) & Activate Route Guards ---
Activity