Skip to content

Commit 5156799

Browse files
knuhauoskogstad
andauthored
fix: Upgraded Altinn.ApiClients.Maskinporten, specify TokenExchangeEnvironment (#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 <skogstad@softis.net>
1 parent ec7e049 commit 5156799

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

src/Digdir.Domain.Dialogporten.Infrastructure/Digdir.Domain.Dialogporten.Infrastructure.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
4-
<PackageReference Include="Altinn.ApiClients.Maskinporten" Version="9.1.0"/>
4+
<PackageReference Include="Altinn.ApiClients.Maskinporten" Version="9.2.1" />
55
<PackageReference Include="HotChocolate.Subscriptions.Redis" Version="13.9.14" />
66
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.2.5" />
77
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.2.5" />

src/Digdir.Domain.Dialogporten.WebApi/appsettings.Development.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// --------------------------
2020
// Any additional settings are specific for the selected client definition type.
2121
// See below for examples using other types.
22-
"EncodedJwk": "TODO: Add to local secrets"
22+
"EncodedJwk": "TODO: Add to local secrets",
23+
"TokenExchangeEnvironment": "tt02"
2324
},
2425
"Altinn": {
2526
"BaseUri": "https://platform.tt02.altinn.no/",

src/Digdir.Domain.Dialogporten.WebApi/appsettings.prod.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
// --------------------------
1717
// Any additional settings are specific for the selected client definition type.
1818
// See below for examples using other types.
19-
"EncodedJwk": "TODO: Add to local secrets"
19+
"EncodedJwk": "TODO: Add to local secrets",
20+
"TokenExchangeEnvironment": "prod"
2021
},
2122
"Altinn": {
2223
"BaseUri": "https://platform.altinn.no/",

src/Digdir.Domain.Dialogporten.WebApi/appsettings.staging.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// --------------------------
2020
// Any additional settings are specific for the selected client definition type.
2121
// See below for examples using other types.
22-
"EncodedJwk": "TODO: Add to local secrets"
22+
"EncodedJwk": "TODO: Add to local secrets",
23+
"TokenExchangeEnvironment": "tt02"
2324
},
2425
"Altinn": {
2526
"BaseUri": "https://platform.tt02.altinn.no/",

src/Digdir.Domain.Dialogporten.WebApi/appsettings.test.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// --------------------------
2020
// Any additional settings are specific for the selected client definition type.
2121
// See below for examples using other types.
22-
"EncodedJwk": "TODO: Add to local secrets"
22+
"EncodedJwk": "TODO: Add to local secrets",
23+
"TokenExchangeEnvironment": "tt02"
2324
},
2425
"Altinn": {
2526
"BaseUri": "https://platform.tt02.altinn.no/",

src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
// --------------------------
1717
// Any additional settings are specific for the selected client definition type.
1818
// See below for examples using other types.
19-
"EncodedJwk": "TODO: Add to local secrets"
19+
"EncodedJwk": "TODO: Add to local secrets",
20+
"TokenExchangeEnvironment": "yt01"
2021
},
2122
"Altinn": {
2223
"BaseUri": "https://platform.yt01.altinn.cloud/",
@@ -59,4 +60,4 @@
5960
]
6061
}
6162
}
62-
}
63+
}

0 commit comments

Comments
 (0)