fix: consent screen skip status should get checked after auth

This commit is contained in:
Stavros
2026-08-27 17:08:08 +03:00
parent 4bb766997b
commit 766a7287e3
4 changed files with 134 additions and 33 deletions
+11
View File
@@ -53,6 +53,17 @@ const (
OIDCPromptNone OIDCPrompt = "none"
)
func (p OIDCPrompt) String() string {
switch p {
case OIDCPromptLogin:
return "login"
case OIDCPromptNone:
return "none"
default:
return "login"
}
}
var SupportedPrompts = []string{string(OIDCPromptLogin), string(OIDCPromptNone)}
// This is not spec-compliant, the ID token SHOULD NOT contain user info claims but,