Implemented authentication with Keycloak

This commit is contained in:
Dennis Nemec
2025-10-02 20:22:11 +02:00
parent e8954ba5c1
commit b87d7e0268
15 changed files with 1697 additions and 94 deletions

View File

@ -3,7 +3,16 @@ host_ip = "127.0.0.1"
host_port = 3000
redis_url = "redis://127.0.0.1:6379"
gsd_app_key = "GSD-RestApi"
frontend_url = "http://127.0.0.1:3000"
gsd_rest_url = "http://192.168.1.9:8334"
gsd_user = "GSDWebServiceTmp"
gsd_password = "<PASSWORD>"
gsd_app_names = ["GSD-RestApi"]
[keycloak]
realm_url = "http://localhost:8080/realms/master"
client_id = "delivery-app"
client_secret = "<SECRET>"
auth_url = "http://localhost:8080/realms/master/protocol/openid-connect/auth"
token_url = "http://localhost:8080/realms/master/protocol/openid-connect/token"
redirect_url = "http://127.0.0.1:3000/callback"