Skip to content
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

钉钉集成jeecg实现免登,一直无法完成登录 #6226

Open
LiWeiGuo420 opened this issue May 15, 2024 · 0 comments
Open

钉钉集成jeecg实现免登,一直无法完成登录 #6226

LiWeiGuo420 opened this issue May 15, 2024 · 0 comments

Comments

@LiWeiGuo420
Copy link

版本号:

3.6.3

分支: master?还是springboot3?

master分支

前端版本: vue3版?还是 vue2版?

vue3

问题描述:

在与钉钉对接的时候,按照官方文档进行配置,读取钉钉的用户和部门没有问题。在钉钉侧配置H5微应用的时候,一直在重定向调用钉钉的“获取登录用户访问凭证接口”,麻烦介绍一下钉钉测配置H5微应用实现免登效果在jeecg侧的具体登录流程,或者详细配置,谢谢!

截图&代码:
2A7341E4-3A63-4b08-A3EB-8F3B318A4B44 9E2968A2-3111-4101-8863-DA5FABD3AEA7 69CC3457-75E8-4730-91EA-5F0838CD9B09

前端配置.env.product
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://json-li.gnway.cc:61409/jeecg-boot

后端配置application-prod.yml
#第三方登录
justauth:
enabled: true
type:
DINGTALK:
client-id: ******
client-secret: ******
redirect-uri: http://json-li.gnway.cc:61409/jeecg-boot/sys/thirdLogin/dingtalk/callback

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;
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

No branches or pull requests

1 participant