Altinn / Altinn/app-lib-dotnet
Error page is shown for a short second before redirect to authentication upgrade
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
## Describe the bug
If an app is instansiated at a low authentication level expected behavior is that user is redirected to authentication upgrade in the portal. However, before this redirect the user is shown an error page for a short second.. This should be avoided.
## To Reproduce
Steps to reproduce the behavior:
1. Log on with authentication level 0 or 1
2. Instantiate apps-test
3. See error
## Expected behavior
User is sent directly to authentication upgrade without seing an error page.
## Screenshots

Contributor guide
Research direction
Reproduce the issue in apps-test by signing in at authentication level 0 or 1 and instantiating an app. Trace the authentication-level handling and redirect flow in app-lib-dotnet; no source file or test is named in the report. Done means the user goes directly to authentication upgrade without seeing an intermediate error page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100