Skip to content
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

Authentication level claim is 0 in dialog token #1458

Open
elsand opened this issue Nov 14, 2024 · 1 comment
Open

Authentication level claim is 0 in dialog token #1458

elsand opened this issue Nov 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@elsand
Copy link
Collaborator

elsand commented Nov 14, 2024

Description

See title

Reproduction

  1. Authenticate with synth user 01885897157 in ID-porten test
  2. Navigate to https://af.tt.altinn.no/inbox/01930b47-adf6-712b-a1ec-4a36c50c71cd
  3. Note the request to the FCE at https://platform.tt02.altinn.no/correspondence/api/v1/correspondence/14429ce4-92db-4af2-8fa9-e5d90ceb6f10/content, see the dialog token supplied
  4. Break it open in jwt.io or similar, and note the l-claim (lower case L)

Expected behavior

It should be 3 or 4 depending on selection in ID-porten

Actual behavior

It is 0

Additional information

This works fine using the tokengenerator, so it appears to be discrepancies with real ID-porten tokens. This is to be considered a bug in the generator.

@elsand elsand added the bug Something isn't working label Nov 14, 2024
@elsand elsand moved this from New issues to Backlog in Dialogporten / Arbeidsflate Nov 14, 2024
@elsand elsand moved this from Backlog to Ready in Dialogporten / Arbeidsflate Nov 15, 2024
@Ceredron
Copy link

Correspondence has pushed out hotfix in the staging environment to disable auth level check in dialogtokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

2 participants