You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EnrichResourceParty attempts to load the party id for the resource party if only an organization number is supplied. This however fails, due to PartyLookup attempting to generate a "access token" with _accessTokenGenerator.GenerateAccessToken("platform", "authorization"); using non-existent key material. (It attempts to call _signingKeysResolver.GetSigningCredentials(), where _signingKeysResolver is registered using the standard implementation in Altinn.Common.AccessTokenClient. This tries to load a X509 certificate from a file path that does not exist, causing an exception to be thrown.
Supplying a bearer token in the call to /authorization/api/v1/decision doesn't appear to have any effect.
Steps To Reproduce
Perform a request https://platform.tt02.altinn.no/authorization/api/v1/decision (using a valid subscription key) with the following body:
Description of the bug
EnrichResourceParty attempts to load the party id for the resource party if only an organization number is supplied. This however fails, due to
PartyLookup
attempting to generate a "access token" with_accessTokenGenerator.GenerateAccessToken("platform", "authorization");
using non-existent key material. (It attempts to call_signingKeysResolver.GetSigningCredentials()
, where_signingKeysResolver
is registered using the standard implementation inAltinn.Common.AccessTokenClient
. This tries to load a X509 certificate from a file path that does not exist, causing an exception to be thrown.Supplying a bearer token in the call to
/authorization/api/v1/decision
doesn't appear to have any effect.Steps To Reproduce
Perform a request
https://platform.tt02.altinn.no/authorization/api/v1/decision
(using a valid subscription key) with the following body:Expected result:
Actual result:
Additional Information
Adding the following
partyid
attribute avoids thePartyLookup
, causing the request to succeed (ie. give a permit response)The text was updated successfully, but these errors were encountered: