summaryrefslogtreecommitdiff
path: root/internal/oidc/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oidc/const.go')
-rw-r--r--internal/oidc/const.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/oidc/const.go b/internal/oidc/const.go
index db8c3a23d..01670e317 100644
--- a/internal/oidc/const.go
+++ b/internal/oidc/const.go
@@ -69,15 +69,12 @@ const (
GrantTypeImplicit = implicit
GrantTypeRefreshToken = "refresh_token"
GrantTypeAuthorizationCode = "authorization_code"
- GrantTypePassword = "password"
- GrantTypeClientCredentials = "client_credentials"
)
// Client Auth Method strings.
const (
ClientAuthMethodClientSecretBasic = "client_secret_basic"
ClientAuthMethodClientSecretPost = "client_secret_post"
- ClientAuthMethodClientSecretJWT = "client_secret_jwt"
ClientAuthMethodNone = "none"
)
@@ -117,6 +114,13 @@ const (
FormParameterCodeChallengeMethod = "code_challenge_method"
)
+const (
+ PromptNone = none
+ PromptLogin = "login"
+ PromptConsent = "consent"
+ // PromptCreate = "create" // This prompt value is currently unused.
+)
+
// Endpoints.
const (
EndpointAuthorization = "authorization"