mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-11-15 12:31:55 +08:00
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
|
[
|
||
|
{
|
||
|
"ClientId": "implicit-mock-client",
|
||
|
"Description": "Client for implicit flow",
|
||
|
"AllowedGrantTypes": ["implicit"],
|
||
|
"AllowAccessTokensViaBrowser": true,
|
||
|
"RedirectUris": [
|
||
|
"https://warpgate.com/@warpgate/api/sso/return",
|
||
|
"https://127.0.0.1:8888/@warpgate/api/sso/return"
|
||
|
],
|
||
|
"AllowedScopes": ["openid", "profile", "email", "warpgate-scope"],
|
||
|
"IdentityTokenLifetime": 3600,
|
||
|
"AccessTokenLifetime": 3600
|
||
|
},
|
||
|
{
|
||
|
"ClientId": "client-credentials-mock-client",
|
||
|
"ClientSecrets": ["client-credentials-mock-client-secret"],
|
||
|
"Description": "Client for client credentials flow",
|
||
|
"AllowedGrantTypes": ["authorization_code"],
|
||
|
"AllowedScopes": ["openid", "profile", "email", "warpgate-scope"],
|
||
|
"ClientClaimsPrefix": "",
|
||
|
"RedirectUris": [
|
||
|
"https://warpgate.com/@warpgate/api/sso/return",
|
||
|
"https://127.0.0.1:8888/@warpgate/api/sso/return"
|
||
|
],
|
||
|
"Claims": [
|
||
|
{
|
||
|
"Type": "string_claim",
|
||
|
"Value": "string_claim_value",
|
||
|
"ValueType": "string"
|
||
|
},
|
||
|
{
|
||
|
"Type": "json_claim",
|
||
|
"Value": "[\"value1\", \"value2\"]",
|
||
|
"ValueType": "json"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|