Files
Microsoft.SelfService.Porta…/appsettings.json
Torsten Brendgen dfd9c16f61 Add migration to update ApiClients with centralized authorization scopes
This migration updates the ScopesJson for the ApiClient with Id 91000000-0000-0000-0000-000000000001 to include additional authorization scopes for improved API access control. The Down method reverts the changes if necessary.
2026-07-09 23:49:01 +02:00

36 lines
961 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"Authentication": {
"OnPremClientCredentials": {
"Issuer": "Microsoft.SelfService.Portal.Core.API",
"Audience": "Microsoft.SelfService.Portal.Core.API",
"SigningKey": "DevelopmentOnly-OnPremClientCredentials-SigningKey-ChangeMe",
"TokenLifetimeSeconds": 3600,
"AllowedTokenScopes": [
"deployment.read",
"deployment.write",
"configuration.read",
"configuration.write",
"credential.read",
"credential.write",
"queue.process",
"queue.read",
"template.read",
"template.write",
"credential.resolve",
"token.manage",
"token.admin"
]
}
},
"ConnectionStrings": {
"Context": "Server=.;Database=SSP;TrustServerCertificate=True;Encrypt=False;Trusted_Connection=True"
}
}