feat: add OAuth authentication
Issue GH-2292
This commit is contained in:
parent
ab9cea1742
commit
da4214ad61
3 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,7 @@ INSTALLED_APPS = [
|
|||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"django.contrib.humanize",
|
||||
"oauth2_provider",
|
||||
"sass_processor",
|
||||
"bookwyrm",
|
||||
"celery",
|
||||
|
|
|
@ -785,6 +785,7 @@ urlpatterns = [
|
|||
r"^summary_revoke_key/?$", views.summary_revoke_key, name="summary-revoke-key"
|
||||
),
|
||||
path("guided-tour/<tour>", views.toggle_guided_tour),
|
||||
re_path(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
# Serves /static when DEBUG is true.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue