mirror of
https://github.com/zitadel/oidc.git
synced 2026-05-03 00:19:36 -05:00
14 lines
235 B
Go
14 lines
235 B
Go
package op
|
|
|
|
import "github.com/caos/oidc/pkg/oidc"
|
|
|
|
func NeedsExistingSession(authRequest *oidc.AuthRequest) bool {
|
|
if authRequest == nil {
|
|
return true
|
|
}
|
|
if authRequest.Prompt == oidc.PromptNone {
|
|
return true
|
|
}
|
|
return false
|
|
}
|