mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 11:44:45 +01:00
test
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -14,7 +14,7 @@ pipeline {
|
||||
timestamps()
|
||||
}
|
||||
stages {
|
||||
stage ('Environment') {
|
||||
stage ('ENV') {
|
||||
steps {
|
||||
sh 'printenv'
|
||||
script { BUILD_DATE = java.time.LocalDate.now() }
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user