authgear / authgear/authgear-server
Application names for IDP sessions (or SSO) in session list
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
## Problem

* For IDP sessions, the Client ID/Application name field is left empty in the session list in user management.
* This will happen in 2 cases:
* 1\. when the end-user enters the login page directly, therefore there is no initiate client id.
* 2\. When SSO is enabled in the SDK function call. The session belongs to the whole device rather than a specific client.
* The meaning is unclear for the admin portal user, and they usually think it's a bug.
## Proposal
* For case 1 - End-user enters login page directly:
* Show `N.A.` in the list
* when hover, show tooltips: `The user logged in by visiting the login page directly`
* For case 2 - SSO Enabled
* Show `SSO from [Application name]`
* When hover, show tooltip `[Client ID]`
Contributor guide
Research direction
Start by locating the user-management session list and the code handling IDP and SSO sessions. Compare the two cases described in the issue and verify how application names and client IDs are currently represented. Done means direct-login sessions show “N.A.” with the specified tooltip, while SSO sessions show the application name and client ID tooltip.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100