mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
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.
|
||||
|
|
|
@ -25,6 +25,7 @@ boto3==1.26.57
|
|||
django-storages==1.13.2
|
||||
django-storages[azure]
|
||||
django-redis==5.2.0
|
||||
django-oauth-toolkit==2.3.0
|
||||
opentelemetry-api==1.16.0
|
||||
opentelemetry-exporter-otlp-proto-grpc==1.16.0
|
||||
opentelemetry-instrumentation-celery==0.37b0
|
||||
|
|
Loading…
Reference in a new issue