1ccddae692
Build Docker Image / build (push) Failing after 1m42s
Add Jwt__Algorithm config to choose between HS256 (shared symmetric key, existing behavior, default) and RS256 (Authority-based OIDC discovery, public-key auto-fetch with periodic refresh). RS256 mode makes the server compatible with any standard OAuth 2.1 / OIDC provider (Logto, ZITADEL, Keycloak, Auth0) without requiring a shared secret. HS256 mode remains the default for minimal self-built AS setups.
35 lines
617 B
JSON
35 lines
617 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"GiteaMcp": "Debug"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Gitea": {
|
|
"BaseUrl": "",
|
|
"AdminPat": "",
|
|
"RepoBlacklist": "",
|
|
"DefaultLimit": 50,
|
|
"MaxFileBytes": 1048576
|
|
},
|
|
"Jwt": {
|
|
"Algorithm": "HS256",
|
|
"Issuer": "",
|
|
"Audience": "gitea",
|
|
"SigningKey": {
|
|
"Current": "",
|
|
"Previous": ""
|
|
}
|
|
},
|
|
"Mcp": {
|
|
"OAuthDiscovery": {
|
|
"Issuer": "",
|
|
"AuthorizationEndpoint": "",
|
|
"TokenEndpoint": "",
|
|
"RegistrationEndpoint": ""
|
|
}
|
|
}
|
|
}
|