wms/nflg-wms-auth/src/main/resources/application.yml

36 lines
971 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8101
spring:
application:
name: auth
profiles:
active: sit
config:
import: nacos:shared.properties?group=${spring.profiles.active}&refreshEnabled=true
cloud:
nacos:
config:
server-addr: ${nacos.server-addr:192.168.163.83:8848}
namespace: wms
group: ${spring.profiles.active}
discovery:
server-addr: ${nacos.server-addr:192.168.163.83:8848}
namespace: wms
group: ${spring.profiles.active}
# Sa-Token 配置
sa-token:
# token 名称(同时也是 cookie 名称)
token-name: authorization
# token 有效期(单位:秒) 默认30天-1 代表永久有效
timeout: 2592000
# ------- SSO-模式二相关配置
sso-server:
# Ticket有效期 (单位: 秒),默认五分钟
ticket-timeout: 300
# 所有允许的授权回调地址
allow-url: "*"
# jwt秘钥
jwt-secret-key: asdasdasifhueuiwyurfewbfjsdafjk
logging:
level:
root: info