-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// other configurations but auth are documented in conf-example.jsonc | ||
"auth": { | ||
"realm": "keycloak-realm", | ||
"bearer-only": true, | ||
"auth-server-url": "http://localhost:9999/auth", | ||
"ssl-required": "external", | ||
"resource": "grud-backend", | ||
"verify-token-audience": true, | ||
"use-resource-role-mappings": true, | ||
"confidential-port": 0, | ||
"issuer": "test" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"host": "127.0.0.1", | ||
"port": 8080, | ||
"uploadsDirectory": "uploads/", | ||
"workingDirectory": "./", | ||
"rolePermissionsPath": "./role-permissions.json", | ||
"isPublicFileServer": false, // if true, the file serving endpoint is public, if false, the file serving is protected by the auth server (default: false) | ||
"openApiUrl": "https://my.domain.com/api/docs", // override the openapi url, needed for reverse proxy (if not set, the openapi url is generated automatically) | ||
"database": { | ||
"host": "localhost", | ||
"port": 5432, | ||
"username": "postgres", | ||
"password": "secret", | ||
"database": "tableaux" | ||
}, | ||
"auth": { | ||
"isAutoDiscovery": true, | ||
"resource": "grud-backend", | ||
"issuer": "https://<path-to-keycloak>/auth/realms/<realm>" | ||
} | ||
} |