-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instansdelegering | Utvide testtools tokengenerator PlatformAccessToken med app cluster token support #827
Labels
Comments
jonkjetiloye
pushed a commit
to Altinn/AltinnTestTools
that referenced
this issue
Sep 25, 2024
- [#827](Altinn/altinn-access-management#827) Test serviceowner Testdepartementet (ttd) has been added as a valid issuer of PlatformAccessTokens, in order to support both manual and automated testing of Altinn 3 Platform APIs provided to App-backend solutions running in a service owners own cluster. These tokens are use the serviceowner's org code as issuer (iss claim) and are signed with a private certificate available for all apps in the cluster.
5 tasks
jonkjetiloye
pushed a commit
to Altinn/AltinnTestTools
that referenced
this issue
Sep 27, 2024
5 tasks
jonkjetiloye
pushed a commit
to Altinn/AltinnTestTools
that referenced
this issue
Sep 27, 2024
Merged
5 tasks
AltinnTestTools updated with support for PlatformAccessTokens signed with TTD's app cluster certificate for AT22. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Beskrivelse
For å kunne teste instansdelegerings API vi utvikler for Apps trenger vi å få utvidet GetPlatformAccessToken funksjonen i generatoren med mulighet for å overstyre issuer fra "platform" til en gitt tjenesteeier org.
Problemstillingen med en slik funksjon er at den må ta tilgang til sertifikat i appcluster for tjenesteeier org. Det er kanskje dermed rimelig at dette bare implementeres for test tjenesteeieren: ttd
Funksjonen må fra dagens:
https://altinn-testtools-token-generator.azurewebsites.net/api/GetPlatformAccessToken?env=at22&app=platform
utvides med org url parameter som da benyttes for å i stedet signere med ttd app cluster sertifikat:
https://altinn-testtools-token-generator.azurewebsites.net/api/GetPlatformAccessToken?env=at22&org=ttd&app=apps-test
Avklaringer
The text was updated successfully, but these errors were encountered: