Skip to content

Improve error message when Authorization gives a response different from 200 OK #981

@SandGrainOne

Description

@SandGrainOne

Description

This is an issue with logic in PEP used by Apps and other applications using the PEP library to perform Authorization requests.

The combination of logic in ‎PDPAppSI::GetDecisionForRequest and AppAccessHandler::HandleRequirementAsync hides the cause of failure when analyzing an issue based on a failed app request.

GetDecisionForRequest returns null and HandleRequirementAsync throws a new ArgumentNullException. It would be better if GetDecisionForRequest produced the exception with a more precise error message.

Additional Information

No response

Tasks

No response

Acceptance Criterias

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/user-storyUsed for issues that describes functionality for our users.status/draftStatus: When you create an issue before you have enough info to properly describe the issue.
    No fields configured for Feature.

    Projects

    Status
    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions