refactor(server): merge authserver implementation
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
APP_ENV=dev
|
||||
HTTP_ADDR=:8080
|
||||
PUBLIC_BASE_URL=http://localhost:8080
|
||||
OIDC_ISSUER=http://localhost:8080/auth
|
||||
OIDC_AUTHORIZATION_ENDPOINT=http://localhost:8080/auth/oauth/authorize
|
||||
OIDC_TOKEN_ENDPOINT=http://localhost:8080/auth/oauth/token
|
||||
OIDC_USERINFO_ENDPOINT=http://localhost:8080/auth/oauth/userinfo
|
||||
OIDC_JWKS_URI=http://localhost:8080/auth/oauth/jwks
|
||||
CLOUDDM_TARGET_URL=http://authserver-nginx/internal/clouddm
|
||||
|
||||
MYSQL_DSN=auth:auth@tcp(127.0.0.1:3000)/authserver?charset=utf8mb4&parseTime=True&loc=Local
|
||||
AUTO_MIGRATE=true
|
||||
|
||||
JWT_SECRET=change-this-secret
|
||||
JWT_ISSUER=authserver
|
||||
JWT_TTL_MINUTES=120
|
||||
|
||||
SAML_ENTITY_ID=http://localhost:8080/api/v1/saml/metadata
|
||||
SAML_ACS_URL=http://localhost:8080/api/v1/saml/acs
|
||||
SAML_IDP_METADATA_URL=http://sso-internal.dev.qiniu.io/saml2/meta
|
||||
SAML_SP_CERT_FILE=certs/sp.crt
|
||||
SAML_SP_KEY_FILE=certs/sp.key
|
||||
Reference in New Issue
Block a user