From 277aff95f3a4e02547683816880937008bd0835d Mon Sep 17 00:00:00 2001 From: alexanderkohler1 <alexander1.kohler@student.reutlingen-university.de> Date: Sun, 15 Jun 2025 20:49:12 +0200 Subject: [PATCH] Add auth.toml to gitignore and remove from tracking - Prevents OAuth credentials from being committed to repository - Maintains security by excluding sensitive authentication data --- .gitignore | 1 + config/auth.toml | 23 ----------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 config/auth.toml diff --git a/.gitignore b/.gitignore index eea4451..7a972d2 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ tmp/ # HARMONY specific config/**/local/* !config/**/local/.gitkeep +config/auth.toml files/**/* !files/.gitkeep diff --git a/config/auth.toml b/config/auth.toml deleted file mode 100644 index 352ad28..0000000 --- a/config/auth.toml +++ /dev/null @@ -1,23 +0,0 @@ -enable_oauth2 = true - -[provider.github] -enabled = true -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 = "Ov23liDARHzTNU4Ol0yI" -client_secret = "f339af58456bb9f1874245f98027e45458489a69" -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