STS3 - Beispielkonfiguration
In dieser Anleitung wird eine Beispiel Client-Konfiguration für den STS-3.
{
"ClientId": "WebDav",
"AllowAccessTokensViaBrowser": true,
"RedirectUris": [
"<WebDavUrl>/<Mandant>/api/Account/Callback"
],
"AllowedGrantTypes": [
"delegation",
"implicit",
"client_credentials"
],
"ClientSecrets": [
{
"value": "<Client-Secret>",
"description": "The SHA-512 Hash of the Secret's Value"
}
],
"AllowedScopes": [
"openid",
"profile",
"metatool",
"webdav-api"
]
}
- GrantTypes delegation, client_credentials und implicit sind notwendig
- Das ClientSecret muss als SHA512-Hash hinterlegt werden
- Die Scopes "openid", "profile", "metatool" und "webdav-api" sind notwendig
- Die Client-ID ist frei wählbar
Scope webdav-api
Der Scope "webdav-api" muss noch zusätzlich unter Scopes eingetragen werden:
{
"Scopes": {
"Api": [
"metatool",
"api",
"webdav-api"
]
}
}