Skip to content

Tokens from Altinn Test Tools not working in IAuthenticationContext #1203

Closed
@martinothamar

Description

@martinothamar

Description of the bug

If the library or a user tries to use IAuthenticationContext when the caller is authenticated using Altinn Test Tools, we fail to parse the token properly. Spesifically the user ID claim is encoded as an integer as opposed to a string which is what altinn-authentication does.

Steps To Reproduce

  1. GetPersonalToken from Altinn Test Tools
  2. Call any API using IAuthenticationContext

Additional Information

No response

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions