1
0
forked from baron/baron-sso

Headless Login 앱 타입 오표기 수정

This commit is contained in:
2026-03-31 17:54:52 +09:00
parent 1f9512a5a7
commit 8d505cec0e
7 changed files with 42 additions and 1 deletions

View File

@@ -1646,6 +1646,10 @@ func (h *DevHandler) mapClientSummary(client domain.HydraClient) clientSummary {
clientType := "private"
if strings.EqualFold(client.TokenEndpointAuthMethod, "none") {
clientType = "pkce"
} else if strings.EqualFold(client.TokenEndpointAuthMethod, "private_key_jwt") && client.Metadata != nil {
if val, ok := client.Metadata["headless_login_enabled"].(bool); ok && val {
clientType = "pkce"
}
}
name := strings.TrimSpace(client.ClientName)