-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.TokenExchange.json
More file actions
67 lines (67 loc) · 2.07 KB
/
appsettings.Development.TokenExchange.json
File metadata and controls
67 lines (67 loc) · 2.07 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"tokenExchange": {
"externalExchanges": [
{
"exchangeName": "briar_rabbit",
"mintType": "externalFinalExchangeHandler",
"externalFinalExchangeHandler": {
"url": "https://localhost:5001/api/token_exchange/briar_rabbit/final-pipeline-exchange",
"clientId": "arbitrary-resource-owner-client"
},
"passThroughHandler": {
"url": "https://localhost:5001/api/token_exchange/briar_rabbit/pass-through-handler"
},
"oAuth2_client_credentials": {
"clientId": "b2b-client",
"clientSecret": "secret",
"authority": "https://localhost:5001/",
"additionalHeaders": [
{
"name": "x-authScheme",
"value": "self-oidc"
}
]
}
},
{
"exchangeName": "briar_rabbit_test",
"mintType": "externalFinalExchangeHandler",
"externalFinalExchangeHandler": {
"url": "http://localhost/api/token_exchange/briar_rabbit/token-exchange-validator/",
"clientId": "arbitrary-resource-owner-client"
},
"passThroughHandler": {
"url": "http://localhost/api/token_exchange/briar_rabbit/pass-through-handler/"
},
"oAuth2_client_credentials": {
"clientId": "b2b-client",
"clientSecret": "secret",
"authority": "http://localhost/",
"additionalHeaders": [
{
"name": "x-authScheme",
"value": "self-testserver"
}
]
}
}
],
"pipelineExchanges": [
{
"exchangeName": "pipeline_briar_rabbit",
"preprocessors": [ "validate-strip-signature" ],
"finalExchange": "briar_rabbit"
},
{
"exchangeName": "pipeline_briar_rabbit_final_exchange",
"preprocessors": [],
"finalExchange": "briar_rabbit"
},
{
"exchangeName": "pipeline_briar_rabbit_test",
"preprocessors": [ "validate-strip-signature" ],
"finalExchange": "briar_rabbit_test"
}
]
}
}