Skip to content

verify_claims errors #546

@dopry

Description

@dopry

When using verify claims, I don't see a way to return an error explaining why the verification failed to inform users why they were denied access. I'm following the instructions at https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#advanced-user-verification-based-on-their-claims.

How can I provide feedback to indicate to users why they were denied access? If there isn't something already in place, I would like to be able to raise an exception here that is converted to an error message that can be presented in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions