Skip to content

Commit

Permalink
fix: Upgraded Altinn.ApiClients.Maskinporten, specify TokenExchangeEn…
Browse files Browse the repository at this point in the history
…vironment (#1328)

Upgraded Altinn.ApiClients.Maskinporten, specify
TokenExchangeEnvironment under Maskinporten in appsettings

<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #81 

## Verification

- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)

Co-authored-by: Ole Jørgen Skogstad <[email protected]>
  • Loading branch information
knuhau and oskogstad authored Oct 22, 2024
1 parent ec7e049 commit 5156799
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="Altinn.ApiClients.Maskinporten" Version="9.1.0"/>
<PackageReference Include="Altinn.ApiClients.Maskinporten" Version="9.2.1" />
<PackageReference Include="HotChocolate.Subscriptions.Redis" Version="13.9.14" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.2.5" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.2.5" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
"EncodedJwk": "TODO: Add to local secrets",
"TokenExchangeEnvironment": "tt02"
},
"Altinn": {
"BaseUri": "https://platform.tt02.altinn.no/",
Expand Down
3 changes: 2 additions & 1 deletion src/Digdir.Domain.Dialogporten.WebApi/appsettings.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
"EncodedJwk": "TODO: Add to local secrets",
"TokenExchangeEnvironment": "prod"
},
"Altinn": {
"BaseUri": "https://platform.altinn.no/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
"EncodedJwk": "TODO: Add to local secrets",
"TokenExchangeEnvironment": "tt02"
},
"Altinn": {
"BaseUri": "https://platform.tt02.altinn.no/",
Expand Down
3 changes: 2 additions & 1 deletion src/Digdir.Domain.Dialogporten.WebApi/appsettings.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
"EncodedJwk": "TODO: Add to local secrets",
"TokenExchangeEnvironment": "tt02"
},
"Altinn": {
"BaseUri": "https://platform.tt02.altinn.no/",
Expand Down
5 changes: 3 additions & 2 deletions src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
"EncodedJwk": "TODO: Add to local secrets",
"TokenExchangeEnvironment": "yt01"
},
"Altinn": {
"BaseUri": "https://platform.yt01.altinn.cloud/",
Expand Down Expand Up @@ -59,4 +60,4 @@
]
}
}
}
}

0 comments on commit 5156799

Please sign in to comment.