Skip to content
Snippets Groups Projects

Add webauth

Open Dennis Asamoah requested to merge add-webauth into master
Files
10
@@ -12,6 +12,16 @@ EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# WEBAUTHN SETTINGS
# Name of the Relying Party (RP) that will appear to the user during WebAuthn registration/authentication.
# This is typically your application name or organization name.
TWO_FACTOR_WEBAUTHN_RP_NAME = "Smasch" # Replace "Smasch" with your desired RP display name.
# Relying Party Identifier (RP ID) used to identify your application during WebAuthn operations.
# Typically, this should be your domain name without "https://" or "http://".
# Example: "example.com" if your application is hosted at "https://example.com".
TWO_FACTOR_WEBAUTHN_RP_ID = "your-domain.com" # change to your domain name
ALLOWED_HOSTS = ['your.domain.com', 'localhost']
DATABASES = {
@@ -93,4 +103,4 @@ AUTH_LDAP_BASE_DN = "cn=users,cn=accounts,dc=uni,dc=lu"
# In order to support a prefix in the path, we should define the following variable SMASCH_PATH_PREFIX and override the STATIC_URL and MEDIA_URL
# SMASCH_PATH_PREFIX = "smasch/"
# STATIC_URL = "/smasch/static/"
# MEDIA_URL = "/smasch/media/"
\ No newline at end of file
# MEDIA_URL = "/smasch/media/"
Loading