mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use the DEFAULT_URI setting for SAML base url instead of auto determining it.
This should fix issue #436
This commit is contained in:
parent
3e13a0d9d9
commit
60f8e754c2
2 changed files with 3 additions and 2 deletions
3
.env
3
.env
|
@ -46,7 +46,7 @@ USE_GRAVATAR=0
|
||||||
# Please note that the php.ini setting upload_max_filesize also limits the maximum size of uploaded files
|
# Please note that the php.ini setting upload_max_filesize also limits the maximum size of uploaded files
|
||||||
MAX_ATTACHMENT_FILE_SIZE="100M"
|
MAX_ATTACHMENT_FILE_SIZE="100M"
|
||||||
|
|
||||||
# The public reachable URL of this Part-DB installation. This is used for generating links to the website in emails and so on
|
# The public reachable URL of this Part-DB installation. This is used for generating links in SAML and email templates
|
||||||
# This must end with a slash!
|
# This must end with a slash!
|
||||||
DEFAULT_URI="https://partdb.changeme.invalid/"
|
DEFAULT_URI="https://partdb.changeme.invalid/"
|
||||||
|
|
||||||
|
@ -181,6 +181,7 @@ EDA_KICAD_CATEGORY_DEPTH=0
|
||||||
# SAML Single sign on-settings
|
# SAML Single sign on-settings
|
||||||
###################################################################################
|
###################################################################################
|
||||||
# Set this to 1 to enable SAML single sign on
|
# Set this to 1 to enable SAML single sign on
|
||||||
|
# Be also sure to set the correct values for DEFAULT_URI
|
||||||
SAML_ENABLED=0
|
SAML_ENABLED=0
|
||||||
|
|
||||||
# Set to 1, if your Part-DB installation is behind a reverse proxy and you want to use SAML
|
# Set to 1, if your Part-DB installation is behind a reverse proxy and you want to use SAML
|
||||||
|
|
|
@ -32,7 +32,7 @@ nbgrp_onelogin_saml:
|
||||||
privateKey: '%env(string:default:saml.sp.privateKey:string:SAMLP_SP_PRIVATE_KEY)%'
|
privateKey: '%env(string:default:saml.sp.privateKey:string:SAMLP_SP_PRIVATE_KEY)%'
|
||||||
|
|
||||||
# Optional settings
|
# Optional settings
|
||||||
#baseurl: 'http://myapp.com'
|
baseurl: '%partdb.default_uri%saml/'
|
||||||
strict: true
|
strict: true
|
||||||
debug: false
|
debug: false
|
||||||
security:
|
security:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue