Skip to content

Commit 3b500c7

Browse files
committed
update sso examples
1 parent 1535b4a commit 3b500c7

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

examples/single sign on/docker-compose.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ services:
1313
- .:/var/www
1414
- ./sqlpage:/etc/sqlpage
1515
environment:
16-
# OIDC configuration
17-
- SQLPAGE_HOST=localhost:8080
18-
- SQLPAGE_OIDC_ISSUER_URL=http://localhost:8181/realms/sqlpage_demo
19-
- OIDC_AUTHORIZATION_ENDPOINT=http://localhost:8181/realms/sqlpage_demo/protocol/openid-connect/auth
20-
- OIDC_TOKEN_ENDPOINT=http://localhost:8181/realms/sqlpage_demo/protocol/openid-connect/token
21-
- OIDC_USERINFO_ENDPOINT=http://localhost:8181/realms/sqlpage_demo/protocol/openid-connect/userinfo
22-
- OIDC_END_SESSION_ENDPOINT=http://localhost:8181/realms/sqlpage_demo/protocol/openid-connect/logout
23-
- OIDC_CLIENT_ID=sqlpage
24-
- OIDC_CLIENT_SECRET=qiawfnYrYzsmoaOZT28rRjPPRamfvrYr
25-
2616
# CAS (central authentication system) configuration
2717
# (you can ignore this if you're only using OpenID Connect)
2818
- CAS_ROOT_URL=http://localhost:8181/realms/sqlpage_demo/protocol/cas

examples/single sign on/keycloak-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@
35973597
"alwaysDisplayInConsole": true,
35983598
"clientAuthenticatorType": "client-secret",
35993599
"secret": "qiawfnYrYzsmoaOZT28rRjPPRamfvrYr",
3600-
"redirectUris": ["http://localhost:8080/oidc_redirect_handler.sql"],
3600+
"redirectUris": ["http://localhost:8080/sqlpage/oidc_callback"],
36013601
"webOrigins": ["http://localhost:8080"],
36023602
"notBefore": 0,
36033603
"bearerOnly": false,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
oidc_issuer_url: http://localhost:8181/realms/sqlpage_demo
2+
oidc_client_id: sqlpage
3+
oidc_client_secret: qiawfnYrYzsmoaOZT28rRjPPRamfvrYr # For a safer setup, use environment variables to store this

0 commit comments

Comments
 (0)