In my Angular project, users are being authenticated through OIDC provider using the library angular-auth-oidc-client. So, when user is not authenticated or session expired and requests a page like https://localhost:4202/account, user is being redirected to OIDC login page and after successful login, user is always being redirected to home page instead of requested page
To Reproduce:
Steps to reproduce the behavior:
- Replace Auth configuration with your own config
- Run the project with
npm run start
- Go to https://localhost:4202/account. It will redirect to OIDC login page then after successful login it redirects user to https://localhost:4202 instead of https://localhost:4202/account