Skip to content

error_description should not include invalid characters for oidc certification #720

@funelie

Description

@funelie

RFC6749 states that error_description field MUST NOT include characters outside the set %09-0A (Tab and LF) / %x0D (CR) / %x20-21 / %x23-5B / %x5D-7E.

For example the Token endpoint response returns this error, which makes the open id connect certification fail :
https://github.com/lepture/authlib/blob/4eafdc21891e78361f478479efe109ff0fb2f661/authlib/jose/errors.py#L85

The quotes should be removed from error_descriptions

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