mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Specify empty OIDC prefix (#6324)
* Specify empty OIDC prefix Ref: https://github.com/inventree/InvenTree/discussions/6273 * Add extra comment around version information * Update InvenTree/InvenTree/settings.py Co-authored-by: Philipp Fruck <dev@p-fruck.de> --------- Co-authored-by: Philipp Fruck <dev@p-fruck.de>
This commit is contained in:
parent
8f6893a6b2
commit
d8f69c0609
@ -1000,6 +1000,11 @@ SOCIALACCOUNT_PROVIDERS = get_setting(
|
||||
|
||||
SOCIALACCOUNT_STORE_TOKENS = True
|
||||
|
||||
# Explicitly set empty URL prefix for OIDC
|
||||
# The SOCIALACCOUNT_OPENID_CONNECT_URL_PREFIX setting was introduced in v0.60.0
|
||||
# Ref: https://github.com/pennersr/django-allauth/blob/0.60.0/ChangeLog.rst#backwards-incompatible-changes
|
||||
SOCIALACCOUNT_OPENID_CONNECT_URL_PREFIX = ''
|
||||
|
||||
# settings for allauth
|
||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting(
|
||||
'INVENTREE_LOGIN_CONFIRM_DAYS', 'login_confirm_days', 3, typecast=int
|
||||
|
Loading…
x
Reference in New Issue
Block a user