From a77cf5accbdd84e5d1c7c67751ad95e988cdbb75 Mon Sep 17 00:00:00 2001 From: Javier Marcos <1271349+javuto@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:17:05 +0200 Subject: [PATCH] Adding oauth to auth methods --- settings/settings.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/settings/settings.go b/settings/settings.go index d0c002fe..2f3e42f3 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -24,11 +24,12 @@ const ( // Types of authentication const ( - AuthNone string = "none" - AuthJSON string = "json" - AuthDB string = "db" - AuthSAML string = "saml" - AuthJWT string = "jwt" + AuthNone string = "none" + AuthJSON string = "json" + AuthDB string = "db" + AuthSAML string = "saml" + AuthJWT string = "jwt" + AuthOAuth2 string = "oauth2" ) // Types of logging