Skip to content
Snippets Groups Projects
Commit ffdc250e authored by Alexander Kohler's avatar Alexander Kohler
Browse files

OAuth-Konfiguration für Teamarbeit wiederhergestellt

- auth.toml mit funktionsfähigen GitHub OAuth-Credentials hinzugefügt
- Ermöglicht anderen Entwicklern das Ausführen der Anwendung
- auth.toml aus gitignore entfernt für Teamzugriff
parent 8ace7a1c
No related branches found
No related tags found
1 merge request!4merge dev to main
...@@ -26,7 +26,6 @@ tmp/ ...@@ -26,7 +26,6 @@ tmp/
# HARMONY specific # HARMONY specific
config/**/local/* config/**/local/*
!config/**/local/.gitkeep !config/**/local/.gitkeep
config/auth.toml
files/**/* files/**/*
!files/.gitkeep !files/.gitkeep
......
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 = "Ov23liwqVDKeBaIHmBfZ"
client_secret = "513b5408f5d19e5bf30cef7201e25d1056923e4f"
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment