Skip to content

Commit

Permalink
fix(gql): Add missing graphQl appsettings for staging (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad authored May 10, 2024
1 parent 8060e3f commit 97b7da6
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions src/Digdir.Domain.Dialogporten.GraphQL/appsettings.staging.json
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"
}
]
}
}
}

0 comments on commit 97b7da6

Please sign in to comment.