The ContextHandler fails to enrich the request context with the needed internal IDs (UserId and PartyId) for subject when performing requests with either of the subject attributes:
urn:altinn:person:identifier-nourn:altinn:ssn (depricated)
urn:altinn:organization:identifier-nourn:altinn:organizationnumber (depricated)
using any of these should enrich the request context with both the new external identifier variants as well as the internal identifiers:
UserIdUserUuidPartyIdPartyUuid
Steps To Reproduce
Endpoint: {{baseUrl}}/authorization/api/v1/authorizeBody example: use either urn:altinn:person:identifier-no or urn:altinn:organization:identifier-no subject for entity having received delegation of the resource
Description of the bug
The ContextHandler fails to enrich the request context with the needed internal IDs (UserId and PartyId) for subject when performing requests with either of the subject attributes:
urn:altinn:person:identifier-no
urn:altinn:ssn
(depricated)urn:altinn:organization:identifier-no
urn:altinn:organizationnumber
(depricated)using any of these should enrich the request context with both the new external identifier variants as well as the internal identifiers:
UserId
UserUuid
PartyId
PartyUuid
Steps To Reproduce
Endpoint:
{{baseUrl}}/authorization/api/v1/authorize
Body example: use eitherurn:altinn:person:identifier-no
orurn:altinn:organization:identifier-no
subject for entity having received delegation of the resourceAdditional Information
No response