Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove "You are already logged-in" during authentication #12406

@acolombier

Description

@acolombier

Description

This request is a long time request, which can be found on Jira

Expected behavior

Given a logged user 
When they get prompted to login
Or follow a validation link (e.g email)
Then their authentication flow complete successfully back into the app, with the request login data

Current behavior

Given a logged user 
When they get prompted to login
Or follow a validation link (e.g email)
Then they see an error-like page telling them they are already logged in 
And a cancel-like button to get back to the application, if there is a base URL set

Discussion

https://issues.redhat.com/browse/KEYCLOAK-5179?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true

Motivation

The current logic currently gives a poor user experience and doesn't bring any value as such - since the user is already authenticated anyway, there is no fundamental issue to complete their authentication flow.

Details

Worth to mention that this has been a requested feature for almost 5 years, perhaps it would be nice to provide a temporary workaround (someone in the documentation mentioned they've managed to achieve a hack, but sadly haven't shared much) or provide a vision and design on how to start implementing this solution (there was a suggested approach, but it appears that it wasn't well received by the community)

Metadata

Metadata

Assignees

Labels

area/authenticationIndicates an issue on Authentication areakind/enhancementCategorizes a PR related to an enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions