-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gql): Add missing graphQl appsettings for staging (#714)
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
src/Digdir.Domain.Dialogporten.GraphQL/appsettings.staging.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft.AspNetCore": "Warning" | ||
} | ||
}, | ||
"Infrastructure": { | ||
"Redis": { | ||
"Enabled": true, | ||
"ConnectionString": "TODO: Add to local secrets" | ||
}, | ||
"DialogDbConnectionString": "TODO: Add to local secrets", | ||
// Settings from appsettings.json, environment variables or other configuration providers. | ||
// The first three are always mandatory for all client definitions types | ||
"Maskinporten": { | ||
// 1. Valid values are test and prod | ||
"Environment": "test", | ||
// 2. Client Id/integration as configured in Maskinporten | ||
"ClientId": "TODO: Add to local secrets", | ||
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id. | ||
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization/authorize.admin altinn:resourceowner/authorizedparties.admin", | ||
// -------------------------- | ||
// Any additional settings are specific for the selected client definition type. | ||
// See below for examples using other types. | ||
"EncodedJwk": "TODO: Add to local secrets" | ||
}, | ||
"Altinn": { | ||
"BaseUri": "https://platform.tt02.altinn.no/", | ||
"EventsBaseUri": "Secret webhook sink URL in source key vault", | ||
"SubscriptionKey": "TODO: Add to local secrets" | ||
} | ||
}, | ||
"Application": { | ||
"Dialogporten": { | ||
"BaseUri": "https://platform.tt02.altinn.no/dialogporten", | ||
"Ed25519KeyPairs": { | ||
"Primary": { | ||
"Kid": "TODO: Add to local secrets", | ||
"PrivateComponent": "TODO: Add to local secrets", | ||
"PublicComponent": "TODO: Add to local secrets" | ||
}, | ||
"Secondary": { | ||
"Kid": "TODO: Add to local secrets", | ||
"PrivateComponent": "TODO: Add to local secrets", | ||
"PublicComponent": "TODO: Add to local secrets" | ||
} | ||
} | ||
} | ||
}, | ||
"GraphQl": { | ||
"Authentication": { | ||
"JwtBearerTokenSchemas": [ | ||
{ | ||
"Name": "Maskinporten", | ||
"WellKnown": "https://test.maskinporten.no/.well-known/oauth-authorization-server/" | ||
}, | ||
{ | ||
"Name": "MaskinportenAuxiliary", | ||
"WellKnown": "https://ver2.maskinporten.no/.well-known/oauth-authorization-server/" | ||
}, | ||
{ | ||
"Name": "Altinn", | ||
"WellKnown": "https://platform.tt02.altinn.no/authentication/api/v1/openid/.well-known/openid-configuration" | ||
}, | ||
{ | ||
"Name": "Idporten", | ||
"WellKnown": "https://test.idporten.no/.well-known/openid-configuration" | ||
} | ||
] | ||
} | ||
} | ||
} |