Skip to content

feat(social-client): 三方应用页面列表、表单增加字段 #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yuchao-su
Copy link

主要改动

  • 列表页面:增加字段(忽略校验uri、忽略校验state)
  • 表单页面:增加字段(回调地址、忽略校验uri、忽略校验state)
  • 与后端对接,适配后端对 system_social_client 表新增的字段,保持前后端字段一致

变更原因

后端从非官方 justauth-spring-boot-starter 替换为官方的 JustAuth 的包,扩展system_social_client表的配置字段,前端改动用于配合该升级,后端读取三方应用的配置构建授权请求。

image

<el-form-item label="agentId" prop="agentId" v-if="formData!.socialType === 30">
<el-input v-model="formData.agentId" placeholder="授权方的网页应用 ID,有则填" />
</el-form-item>
<el-form-item label="忽略校验uri" prop="ignoreCheckRedirectUri">
<el-radio-group v-model="formData.ignoreCheckRedirectUri">
<el-radio :label="true">是</el-radio>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用字段

@@ -89,6 +108,8 @@ const formRules = reactive({
userType: [{ required: true, message: '用户类型不能为空', trigger: 'blur' }],
clientId: [{ required: true, message: '客户端编号不能为空', trigger: 'blur' }],
clientSecret: [{ required: true, message: '客户端密钥不能为空', trigger: 'blur' }],
ignoreCheckRedirectUri: [{ required: true, message: '忽略校验uri不能为空', trigger: 'blur' }],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uri 中英文之间,有个空格好点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants