更新一键登录
This commit is contained in:
@@ -191,8 +191,50 @@ chatGpt:
|
||||
modelAiIntPf: gpt-4o-mini
|
||||
modelAiCvSr: gpt-4o-mini
|
||||
modelAiCac: gpt-4o-mini
|
||||
modelAiCiv: gpt-4o-mini
|
||||
role: system
|
||||
|
||||
http:
|
||||
client:
|
||||
connect-timeout-seconds: 600
|
||||
|
||||
# OAuth2.0 社交登录配置
|
||||
oauth2:
|
||||
# ================================
|
||||
# Google (Gmail) 登录配置
|
||||
# 申请地址: https://console.cloud.google.com/apis/credentials
|
||||
# ================================
|
||||
google:
|
||||
client-id: 398978985110-ve0usu381mmdio12ff01iqvv1g087qvi.apps.googleusercontent.com # Google Cloud Console获取
|
||||
client-secret: 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 # Google Cloud Console获取
|
||||
redirect-uri: https://vetti.hotake.cn/oauth2/callback/google
|
||||
scope: openid email profile # Google标准scope(空格分隔)
|
||||
auth-uri: https://accounts.google.com/o/oauth2/v2/auth # Google授权地址
|
||||
token-uri: https://oauth2.googleapis.com/token # Google令牌地址
|
||||
user-info-uri: https://www.googleapis.com/oauth2/v3/userinfo # Google用户信息接口
|
||||
|
||||
# ================================
|
||||
# Microsoft (Outlook) 登录配置
|
||||
# 申请地址: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps
|
||||
# ================================
|
||||
microsoft:
|
||||
client-id: 608cbc4f-3ee2-4f51-a72c-b2e3133fc5b2 # Azure Portal获取
|
||||
client-secret: gvw8Q~dwG8Sv7HN3R3W3R7TQtcZyvrh88ZiJubPa # Azure Portal获取
|
||||
redirect-uri: https://vetti.hotake.cn/api/oauth2/callback/microsoft
|
||||
scope: openid,email,profile,User.Read # 需要额外的User.Read权限才能读取用户信息
|
||||
auth-uri: https://login.microsoftonline.com/common/oauth2/v2.0/authorize # 微软授权地址
|
||||
token-uri: https://login.microsoftonline.com/common/oauth2/v2.0/token # 微软令牌地址
|
||||
user-info-uri: https://graph.microsoft.com/v1.0/me # 使用Microsoft Graph API
|
||||
|
||||
# ================================
|
||||
# LinkedIn 登录配置
|
||||
# 申请地址: https://www.linkedin.com/developers/apps
|
||||
# ================================
|
||||
linkedin:
|
||||
client-id: 86uq3opzshd3bq # LinkedIn Developer Portal获取
|
||||
client-secret: WPL_AP1.mipgyxfgfBoN12Th.1TXeFg== # LinkedIn Developer Portal获取
|
||||
redirect-uri: https://vetti.hotake.cn/api/oauth2/callback/linkedin
|
||||
scope: openid profile email # LinkedIn使用OpenID Connect,scope顺序和命名略有不同
|
||||
auth-uri: https://www.linkedin.com/oauth/v2/authorization # LinkedIn授权地址
|
||||
token-uri: https://www.linkedin.com/oauth/v2/accessToken # LinkedIn令牌地址
|
||||
user-info-uri: https://api.linkedin.com/v2/userinfo # LinkedIn用户信息接口
|
||||
|
||||
@@ -63,3 +63,6 @@ HotakeRolesInfoServiceImpl10001 = The job information is abnormal. Please try ag
|
||||
# manager.页面,字段 = User Manager
|
||||
VerificationEmailTiTle = Your verification code
|
||||
VerificationEmailContent = Your verification code is: {0}, valid for {1} minutes.
|
||||
|
||||
|
||||
HotakeRolesApplyInfoServiceImpl10001 = You have already applied for this position
|
||||
@@ -62,3 +62,4 @@ HotakeRolesInfoServiceImpl10001 = 岗位信息异常,请稍后再试
|
||||
VerificationEmailTiTle = 你的验证码
|
||||
VerificationEmailContent = 你的验证码是: {0},有效期为 {1} 分钟。
|
||||
|
||||
HotakeRolesApplyInfoServiceImpl10001 = 您已申请该职位
|
||||
Reference in New Issue
Block a user