Requests to EU-API with only digdir:dialogporten.noconsent fails with 500 #1675
Open
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
- Fetch a ID-porten with only digdir:dialogporten.noconsent
- 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)
Metadata
Assignees
Labels
Type
Projects
Status
Ready
Activity