You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2023/08/25 02:00:49 UTC
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #14811: [Bug] [api] When using Casdoor SSO, ldap, OAuth2 to log in, the tenant of the currently logged in user is not specified
github-actions[bot] commented on issue #14811:
URL: https://github.com/apache/dolphinscheduler/issues/14811#issuecomment-1692647736
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
When using Casdoor SSO, ldap, or OAuth2 to log in, if the user is logging in for the first time, the tenant is not specified when creating a new user in the t_ds_user table, and the default is 0. When logging in, the tenant will be checked when the resource interface is obtained, and the tenant of the current login user is not specified. question
### What you expected to happen
![图片](https://github.com/apache/dolphinscheduler/assets/50567478/fe77c58f-84a3-47e2-bcda-9ff83285cb8c)
### How to reproduce
using Casdoor SSO, ldap, or OAuth2 to log in
### Anything else
_No response_
### Version
dev
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org