mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add oauth for zapier
This commit is contained in:
parent
7ae9586c82
commit
e7357726ca
@ -269,6 +269,8 @@ INSTALLED_APPS = [
|
||||
'django_q',
|
||||
'formtools', # Form wizard tools
|
||||
|
||||
'oauth2_provider', # Oauth provider
|
||||
|
||||
'allauth', # Base app for SSO
|
||||
'allauth.account', # Extend user with accounts
|
||||
'allauth.socialaccount', # Use 'social' providers
|
||||
|
@ -194,6 +194,9 @@ frontendpatterns = [
|
||||
url(r"^accounts/password/reset/key/(?P<uidb36>[0-9A-Za-z]+)-(?P<key>.+)/$", CustomPasswordResetFromKeyView.as_view(), name="account_reset_password_from_key"),
|
||||
url(r'^accounts/', include('allauth_2fa.urls')), # MFA support
|
||||
url(r'^accounts/', include('allauth.urls')), # included urlpatterns
|
||||
|
||||
# Oauth provider urls
|
||||
url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
]
|
||||
|
||||
# Append custom plugin URLs (if plugin support is enabled)
|
||||
|
@ -22,6 +22,7 @@ django-markdownify==0.8.0 # Markdown rendering
|
||||
django-markdownx==3.0.1 # Markdown form fields
|
||||
django-money==1.1 # Django app for currency management
|
||||
django-mptt==0.11.0 # Modified Preorder Tree Traversal
|
||||
django-oauth-toolkit==1.7.1 # Oauth endpoints
|
||||
django-redis>=5.0.0 # Redis integration
|
||||
django-q==1.3.4 # Background task scheduling
|
||||
django-sql-utils==0.5.0 # Advanced query annotation / aggregation
|
||||
|
Loading…
x
Reference in New Issue
Block a user