Altinn / Altinn/app-frontend-react

User icon and logout feature missing when logged in through Feide

Open
#58 2 comments 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## Description

In regular apps, you can log out by clicking on the user icon in the top right corner while in app-view or on the receipt page.
![image](https://user-images.githubusercontent.com/22012997/165465369-42e07c90-d41b-4438-a2ec-5ae25c5f9c14.png)

However, when logged in through Feide, this icon is missing
![image](https://user-images.githubusercontent.com/22012997/165465453-e0135bab-8016-4c0e-b533-ec7499875cc0.png)
This means that you can't log out through this feature.

## To Reproduce
1. Log into an app that uses Feide as login method
2. Observe that the top right corner is missing the user icon

## Expected behavior

I would expect that the icon is present in the top right corner, like is the case in regular apps.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the missing top-right user icon in an app using Feide, then trace the logged-in app-view and receipt-page UI paths in this TypeScript React frontend. Done means the user icon appears for Feide sessions and its logout feature works as it does for regular apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.