Altinn / Altinn/app-lib-dotnet

Error page is shown for a short second before redirect to authentication upgrade

Open
#1,187 1 comment 0 reactions 0 assignees View on GitHub
kind/bug status/triage
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

![5436](https://user-images.githubusercontent.com/47737608/124132294-f66deb80-da80-11eb-9a6a-0dc9b636edd1.gif)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.