fxa-oauth-server/config/test.json

69 строки
2.0 KiB
JSON

{
"clients": [
{
"id": "dcdb5ae7add825d2",
"hashedSecret": "289a885946ee316844d9ffd0d725ee714901548a1e6507f1a40fb3c2ae0c99f1",
"hashedSecretPrevious": "0726282857047586fb4edc335b5492ef1e4a0d95d3f1114627bb89b4e57cf6e1",
"name": "Mocha",
"imageUri": "https://example.domain/logo",
"redirectUri": "https://example.domain/return?foo=bar",
"trusted": true,
"canGrant": false
},
{
"id": "98e6508e88680e1a",
"hashedSecret": "0000000000000000000000000000000000000000000000000000000000000000",
"name": "Admin",
"imageUri": "https://example2.domain/logo",
"redirectUri": "https://example2.domain/redirect",
"trusted": true,
"canGrant": true
},
{
"id": "98e6508e88680e1b",
"hashedSecret": "ba5cfb370fd782f7eae1807443ab816288c101a54c0d80a09063273c86d3c435",
"name": "URN",
"imageUri": "https://example2.domain/logo",
"redirectUri": "urn:ietf:wg:oauth:2.0:fx:webchannel",
"trusted": true,
"canGrant": false
},
{
"name": "NoRedirectUri",
"id": "ea3ca969f8c6bb0d",
"hashedSecret": "d962cdf34a33ab26f7a6b900d0e1028f182d8e4811cb9b5ac4f20275525c8f54",
"imageUri": "",
"redirectUri": "",
"trusted": true,
"canGrant": false
},
{
"name": "Untrusted",
"id": "ea3ca969f8c6bb0e",
"hashedSecret": "ec62e3281e3b56e702fe7e82ca7b1fa59d6c2a6766d6d28cccbf8bfa8d5fc8a8",
"imageUri": "",
"redirectUri": "https://example.domain/return?foo=bar",
"trusted": false,
"canGrant": false
}
],
"logging": {
"level": "error",
"fmt": "pretty"
},
"openid": {
"keyFile": "../config/key.json",
"oldKeyFile": "../config/oldKey.json",
"key": {},
"oldKey": {}
},
"serviceClients": [
{
"id": "d23dbf62b82eb04e",
"name": "Test Service Client",
"scope": "profile",
"jku": "http://127.0.0.1:9019/.well-known/public-keys"
}
]
}