Skip to content

Allow custom schemes in rediect_uri #154

@RodneyRichardson

Description

@RodneyRichardson

The current implementation only supports http, https, and ftp as valid URI schemes. (The validate_uri function has been updated to allow others, but it fails a check by django.http.HttpResponseRedirect later on).

I would suggest adding a new setting (ALLOWED_REDIRECT_URI_SCHEMES), which defaults to to the existing value of ['http', 'https'].

I will create a branch and a pull request for this.
https://github.com/RodneyRichardson/django-oauth-toolkit/tree/allow-custom-uri-schemes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions