Skip to content

Requests to EU-API with only digdir:dialogporten.noconsent fails with 500 #1675

Open
@elsand

Description

Description

Use of the digdir:dialogporten.noconsent scope is broken; for the EU API to work, the digdir:dialogporten must currently also be supplied. This will (or rather, should) cause a consent-dialog to be shown in ID-porten.

Reproduction

  1. Fetch a ID-porten with only digdir:dialogporten.noconsent
  2. Attempt any request to any EU API endpoint

Expected behavior

The Dialogporten API should return a valid result

Actual behavior

The Dialogporten API returns a 500 Internal Server Error

Additional information

The digdir:dialogporten scope is currently configured to not show a consent dialog in ID-porten test. This is incorrect, but has been done as a workaround for this bug. As soon as this bug is fixed, the scope should be configured to require consent again (it is correctly configured in ID-porten prod)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions