Fix onfiguration documentation in README
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-24 13:20:29 +02:00
parent 88090878ee
commit d3d3675e3d

View File

@@ -7,11 +7,11 @@ Backend for the vegasco (***VE***hicle ***GAS*** ***CO***nsumption) application.
### Configuration
| Configuration | Description | Default | Required |
| --- | --- | --- | --- |
| JWT:Authority | The authority of the JWT token. | - | true |
| JWT:Audience | The audience of the JWT token. | - | true |
| JWT:Issuer | The issuer of the JWT token. | - | true |
| JWT:NameClaimType | The type of the name claim. | `http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name` (C# constant `ClaimTypes.Name` | false |
|--------------------------|-------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|----------|
| JWT:MetadataUrl | The oidc meta data url | - | true |
| JWT:ValidAudience | The valid audience of the JWT token. | - | true |
| JWT:NameClaimType | The claim type of the user's name claim. | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name | false |
| JWT:AllowHttpMetadataUrl | Whether to allow the meta data url to have http as protocol. Always true when `ASPNETCORE_ENVIRONMENT=true` | false | false |
The application uses the prefix `Vegasco_` for environment variable names. The prefix is removed when the application reads the environment variables and duplicate entries are overwritten by the environment variables.