File tree Expand file tree Collapse file tree 4 files changed +32
-29
lines changed
syncmaster/server/settings/auth Expand file tree Collapse file tree 4 files changed +32
-29
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ auth:
1818
1919 # Keycloak Auth
2020 # provider: syncmaster.server.providers.auth.keycloak_provider.KeycloakAuthProvider
21- # server_url: http://keycloak:8080
22- # realm_name: manually_created
23- # client_id: manually_created
24- # client_secret: generated_by_keycloak
25- # redirect_uri: http://localhost:3000/auth/callback
26- # scope: email
27- # verify_ssl: False
21+ # keycloak:
22+ # server_url: http://keycloak:8080
23+ # realm_name: manually_created
24+ # client_id: manually_created
25+ # client_secret: generated_by_keycloak
26+ # redirect_uri: http://localhost:3000/auth/callback
27+ # scope: email
28+ # verify_ssl: False
2829
2930
3031ui :
@@ -51,7 +52,6 @@ server:
5152 expose_headers : [X-Request-ID, Location, Access-Control-Allow-Credentials]
5253
5354
54-
5555scheduler :
5656 transfer_fetching_timeout_seconds : 200
5757
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ auth:
1818
1919 # Keycloak Auth
2020 # provider: syncmaster.server.providers.auth.keycloak_provider.KeycloakAuthProvider
21- # server_url: http://localhost:8080
22- # realm_name: manually_created
23- # client_id: manually_created
24- # client_secret: generated_by_keycloak
25- # redirect_uri: http://localhost:3000/auth/callback
26- # scope: email
27- # verify_ssl: False
21+ # keycloak:
22+ # server_url: http://localhost:8080
23+ # realm_name: manually_created
24+ # client_id: manually_created
25+ # client_secret: generated_by_keycloak
26+ # redirect_uri: http://localhost:3000/auth/callback
27+ # scope: email
28+ # verify_ssl: False
2829
2930
3031ui :
Original file line number Diff line number Diff line change @@ -25,13 +25,14 @@ class KeycloakAuthProviderSettings(BaseModel):
2525
2626 auth:
2727 provider: syncmaster.server.providers.auth.keycloak_provider.KeycloakAuthProvider
28- server_url: http://localhost:8080/auth
29- client_id: my_keycloak_client
30- client_secret: keycloak_client_secret
31- realm_name: my_realm
32- redirect_uri: http://localhost:8000/auth/realms/my_realm/protocol/openid-connect/auth
33- verify_ssl: false
34- scope: openid
28+ keycloak:
29+ server_url: http://localhost:8080/auth
30+ client_id: my_keycloak_client
31+ client_secret: keycloak_client_secret
32+ realm_name: my_realm
33+ redirect_uri: http://localhost:8000/auth/realms/my_realm/protocol/openid-connect/auth
34+ verify_ssl: false
35+ scope: openid
3536 """
3637
3738 keycloak : KeycloakSettings = Field (
Original file line number Diff line number Diff line change @@ -16,13 +16,14 @@ class OAuth2GatewayProviderSettings(BaseModel):
1616
1717 auth:
1818 provider: syncmaster.server.providers.auth.oauth2_gateway_provider.OAuth2GatewayProvider
19- server_url: http://localhost:8080/auth
20- client_id: my_keycloak_client
21- client_secret: keycloak_client_secret
22- realm_name: my_realm
23- redirect_uri: http://localhost:8000/auth/realms/my_realm/protocol/openid-connect/auth
24- verify_ssl: false
25- scope: openid
19+ keycloak:
20+ server_url: http://localhost:8080/auth
21+ client_id: my_keycloak_client
22+ client_secret: keycloak_client_secret
23+ realm_name: my_realm
24+ redirect_uri: http://localhost:8000/auth/realms/my_realm/protocol/openid-connect/auth
25+ verify_ssl: false
26+ scope: openid
2627 """
2728
2829 keycloak : KeycloakSettings = Field (
You can’t perform that action at this time.
0 commit comments