STS3 - Beispielkonfiguration
In dieser Anleitung wird eine Beispiel Client-Konfiguration für den STS-3.
{
"ClientId": "pushServiceClient",
"AllowedGrantTypes": ["client_credentials"],
"ProtocolType": "oidc",
"AllowAccessTokensViaBrowser": false,
"AllowOfflineAccess": true,
"ClientSecrets": [
{
"value": "XXXxxxXXX (als SHA512 Hash)",
"description": "push service client secret (als SHA512 Hash)"
}
],
"AllowedScopes": ["push-api", "metatool"]
}
- Der GrantType client_credentials ist notwendig
- Das ClientSecret muss als SHA512-Hash hinterlegt werden
- Die Scopes "push-api" und "metatool" sind notwendig
- Die Client-ID ist frei wählbar
Scope push-api
Der Scope "push-api" muss noch zusätzlich unter Scopes eingetragen werden:
{
"Scopes": {
"Api": ["metatool", "api", "push-api"]
}
}