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

Integration Casdoor SSO login #98

Closed
wants to merge 6 commits into from

Conversation

gtn1024
Copy link

@gtn1024 gtn1024 commented Sep 16, 2022

I introduced Casdoor SSO login to DWSurvey.

To use built-in login type, we can set dwsurvey.oauth.type to built-in, which is by default.
To use Casdoor login type, set dwsurvey.oauth.type to casdoor and set casdoor configuration.

It did not discard the built-in login system. When logging in with Casdoor for the first time, it will create a user, email for the username and casdoor_user for the password. So it is easy to use back to the built-in login system.

Front-end code: wkeyuan/DWSurvey_Vue#1

@gtn1024 gtn1024 marked this pull request as ready for review September 16, 2022 04:40
@nomeguy
Copy link

nomeguy commented Oct 4, 2022

@wkeyuan

@easyandeasy
Copy link

easyandeasy commented Oct 4, 2022 via email

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.

None yet

3 participants