Open MargeDog opened 8 months ago
redirectUri: "http://127.0.0.1:12345/dolphinscheduler/redirect/login/oauth2"
clientId: ""
clientSecret: ""
tokenUri: "https://gitee.com/oauth/token?grant_type=authorization_code"
userInfoUri: "https://gitee.com/api/v5/user"
callbackUrl: "http://127.0.0.1:5173/login"
这里的redirectUri是dolphinscheduler的地址,callbackUrl登陆地址配置的是哪里的啊
https://dolphinscheduler.apache.org/zh-cn/docs/3.2.0/guide/security/authentication-type
callbackUrl = http://127.0.0.1:12345/dolphinscheduler/ui/login
Search before asking
- [x] I had searched in the issues and found no similar feature requirement.
Description
redirectUri: "http://127.0.0.1:12345/dolphinscheduler/redirect/login/oauth2" clientId: "" clientSecret: "" tokenUri: "https://gitee.com/oauth/token?grant_type=authorization_code" userInfoUri: "https://gitee.com/api/v5/user" callbackUrl: "http://127.0.0.1:5173/login"
这里的redirectUri是dolphinscheduler的地址,callbackUrl登陆地址配置的是哪里的啊
Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/3.2.0/guide/security/authentication-type
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
How did you configure it?
Could you please send me your configuration file to have a look?
@hdygxsj 这是我的配置,但是跳转登录的时候一直失败,请问配置有问题么,我的迷糊点主要在redirectUri,callbackUrl authorizationUri: "http://login.YYY.XXXXX.net/oauth/authorize" redirectUri: "http://dolphinscheduler.bi.XXXXX.net/dolphinscheduler/redirect/login/oauth2" clientId: "154" clientSecret: "xxxxxxxx" tokenUri: "http://login..XXX.YYYY.net/api/oauth/token" userInfoUri: "http://login.XXX.YYYY.net/api/oauth/userinfo" callbackUrl: "http://dolphinscheduler.bi.XXXXXXX.net/dolphinscheduler/ui/login"
@hdygxsj 这是我的配置,但是跳转登录的时候一直失败,请问配置有问题么,我的迷糊点主要在redirectUri,callbackUrl authorizationUri: "http://login.YYY.XXXXX.net/oauth/authorize" redirectUri: "http://dolphinscheduler.bi.XXXXX.net/dolphinscheduler/redirect/login/oauth2" clientId: "154" clientSecret: "xxxxxxxx" tokenUri: "http://login..XXX.YYYY.net/api/oauth/token" userInfoUri: "http://login.XXX.YYYY.net/api/oauth/userinfo" callbackUrl: "http://dolphinscheduler.bi.XXXXXXX.net/dolphinscheduler/ui/login"
Please provide the HTTP request methods required for each OAuth2 API and the corresponding response message formats.
Please provide me with your error log
dolphinscheduler/ui/login?authType=oauth2&error=oauth2%20auth%20error,跳转过程中有没有遇到这个问题?
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
Search before asking
Description
这里的redirectUri是dolphinscheduler的地址,callbackUrl登陆地址配置的是哪里的啊
Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/3.2.0/guide/security/authentication-type
Are you willing to submit a PR?
Code of Conduct