Skip to content

Use oauth toolkit's ALLOW_URI_WILDCARDS instead of a custom Application model #2319

Open
@mvandenburgh

Description

@mvandenburgh

Prerequisite to this issue: #1826

django-oauth-toolkit now supports wildcard redirect URIs - https://django-oauth-toolkit.readthedocs.io/en/latest/settings.html#allow-uri-wildcards. We should drop the custom Application model we've defined to allow staging deploy previews to work (https://github.com/dandi/dandi-archive/blob/master/dandiapi/api/models/oauth.py#L10), and switch to this.

Metadata

Metadata

Assignees

Labels

releasedThis issue/pull request has been released.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions