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

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

Open
elsand opened this issue Jan 10, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@elsand
Copy link
Member

elsand commented Jan 10, 2025

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)

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
Development

No branches or pull requests

1 participant