mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-19 09:00:10 +08:00
feat(system/auth): 新增微信开放平台登录配置示例
This commit is contained in:
@@ -238,6 +238,10 @@ sa-token.extension:
|
||||
justauth:
|
||||
enabled: true
|
||||
type:
|
||||
WECHAT_OPEN:
|
||||
client-id: wx4a**********bcc2
|
||||
client-secret: 32e5*************************1ef
|
||||
redirect-uri: ${application.url}/social/callback?source=wechat_open
|
||||
GITEE:
|
||||
client-id: 5d271b7f638941812aaf8bfc2e2f08f06d6235ef934e0e39537e2364eb8452c4
|
||||
client-secret: 1f7d08**********5b7**********29e
|
||||
|
@@ -240,6 +240,10 @@ sa-token.extension:
|
||||
justauth:
|
||||
enabled: true
|
||||
type:
|
||||
WECHAT_OPEN:
|
||||
client-id: wx4a**********bcc2
|
||||
client-secret: 32e5*************************1ef
|
||||
redirect-uri: ${application.url}/social/callback?source=wechat_open
|
||||
GITEE:
|
||||
client-id: 5d271b7f638941812aaf8bfc2e2f08f06d6235ef934e0e39537e2364eb8452c4
|
||||
client-secret: 1f7d08**********5b7**********29e
|
||||
|
@@ -29,6 +29,11 @@ import lombok.RequiredArgsConstructor;
|
||||
@RequiredArgsConstructor
|
||||
public enum SocialSourceEnum {
|
||||
|
||||
/**
|
||||
* 微信
|
||||
*/
|
||||
WECHAT_OPEN("微信"),
|
||||
|
||||
/**
|
||||
* 码云
|
||||
*/
|
||||
|
Reference in New Issue
Block a user