-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf-test-example.json
26 lines (26 loc) · 1.19 KB
/
conf-test-example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"host": "127.0.0.1",
"uploadsDirectory": "uploads/",
"workingDirectory": "./",
"rolePermissionsPath": "./role-permissions-test.json",
"database": {
"host": "127.0.0.1",
"port": 5432,
"username": "<your-db-user>",
"database": "testing"
},
// part for auth should not be changed because the config and in particular the realm-public-key
// must match to the hardcoded accessToken provided by the test requests to the backend
"auth": {
"realm": "keycloak-realm-permission-test",
"realm-public-key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuuFUzR6uqEU80fNWA88FInoGtUgeQ7JEm1yzh8ii6zP0u+FzezLveJAhTO63YtbYddiyZZ+oQcA4ONbyBQLTrtC9X9Nbi/dhaygWFkZYLoNhGbOASrOCOIAStsU2pRfcOt/7WTxV6G/RaugO3/fArfvs/8SZ54qS1g2fIHz4jhKepQj/SRxqvhTLSY6cQHEqiToxAVjONV1toLaHWDbVSA1mVZ9hbhdhE07DZaT/YS4EgjgrLTxQohqy7R9pqk6yJ6TsOcbQfbXVZpKv5BoOV+EtDjlvHxAyHH0Dg2pCK8HSmyEqKaNfG/R/HfYb8JC4tIJunEEhm/1fEt1EkxIZqQIDAQAB",
"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": "campudus-test"
}
}