This commit is contained in:
iFargle
2023-02-19 21:10:52 +09:00
parent 72490a184b
commit ee843ccdee
2 changed files with 3 additions and 4 deletions

2
Jenkinsfile vendored
View File

@@ -14,7 +14,7 @@ pipeline {
timestamps()
}
stages {
stage ('Environment') {
stage ('ENV') {
steps {
sh 'printenv'
script { BUILD_DATE = java.time.LocalDate.now() }

View File

@@ -23,8 +23,6 @@ if AUTH_TYPE.lower() == "oidc":
# https://www.authelia.com/integration/openid-connect/introduction/
LOG.error("Loading OIDC libraries and configuring app...")
from flask_oidc import OpenIDConnect
DOMAIN_NAME = os.environ["DOMAIN_NAME"]
BASE_PATH = os.environ["SCRIPT_NAME"] if os.environ["SCRIPT_NAME"] != "/" else ""
OIDC_ISSUER = os.environ["OIDC_ISSUER"].replace('"','')
@@ -58,7 +56,8 @@ if AUTH_TYPE.lower() == "oidc":
'OIDC_SCOPES': ['openid', 'email', 'profile'],
'OIDC_INTROSPECTION_AUTH_METHOD': 'client_secret_post'
})
from flask_oidc import OpenIDConnect
oidc = OpenIDConnect(app)