From 8de1e6232a584cc0d53af47a0c95824f1dc6ecb6 Mon Sep 17 00:00:00 2001 From: Jens <kontakt@jensheise.com> Date: Tue, 5 Nov 2024 10:09:28 +0100 Subject: [PATCH] Normalize line endings --- .gitattributes | 3 +++ config/auth.toml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 22 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5dc46e6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +* text=auto eol=lf +*.{cmd,[cC][mM][dD]} text eol=crlf +*.{bat,[bB][aA][tT]} text eol=crlf \ No newline at end of file diff --git a/config/auth.toml b/config/auth.toml index 2cfe471..009ba71 100644 --- a/config/auth.toml +++ b/config/auth.toml @@ -1,23 +1,23 @@ -enable_oauth2 = true - -[provider.github] -enabled = false -name = "github" -display_name = "GitHub" -authorize_uri = "https://github.com/login/oauth/authorize" -access_token_uri = "https://github.com/login/oauth/access_token" -userinfo_uri = "https://api.github.com/user" -client_id = "[client_id]" -client_secret = "[client_secret]" -scopes = ["read:user", "user:email"] - -[provider.google] -enabled = false -name = "google" -display_name = "Google" -authorize_uri = "https://accounts.google.com/o/oauth2/v2/auth" -access_token_uri = "https://oauth2.googleapis.com/token" -userinfo_uri = "https://openidconnect.googleapis.com/v1/userinfo" -client_id = "[client_id]" -client_secret = "[client_secret]" +enable_oauth2 = true + +[provider.github] +enabled = false +name = "github" +display_name = "GitHub" +authorize_uri = "https://github.com/login/oauth/authorize" +access_token_uri = "https://github.com/login/oauth/access_token" +userinfo_uri = "https://api.github.com/user" +client_id = "[client_id]" +client_secret = "[client_secret]" +scopes = ["read:user", "user:email"] + +[provider.google] +enabled = false +name = "google" +display_name = "Google" +authorize_uri = "https://accounts.google.com/o/oauth2/v2/auth" +access_token_uri = "https://oauth2.googleapis.com/token" +userinfo_uri = "https://openidconnect.googleapis.com/v1/userinfo" +client_id = "[client_id]" +client_secret = "[client_secret]" scopes = ["openid", "email", "profile"] \ No newline at end of file -- GitLab