Implemented authentication with Keycloak
This commit is contained in:
@ -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"
|
||||
Reference in New Issue
Block a user