Skip to content

Allow "urn:ietf:wg:oauth:2.0:oob:auto" as a redirect_uri in the Aplication admin #971

@manelclos

Description

@manelclos

Hi, the Application model admin is not currently allowing to set redirect_uris to urn:ietf:wg:oauth:2.0:oob:auto.

The Application model clean method does not take it into account, currently only allowing http and https schemes.

It would be great if this could be improved. Would a patch be accepted? or is this due to a design decision?

Also, trying to access the authorize url fails by default, we had to manually add the crsf_exempt decorator, as the AuthorizationView class is not decorated with csrf_exemp as the TokenView and TokenRevokeView are. Not a problem, but unexpected in the JSON use case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions