DWSurvey icon indicating copy to clipboard operation
DWSurvey copied to clipboard

Integration Casdoor SSO login

Open gtn1024 opened this issue 1 year ago • 2 comments

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: https://github.com/wkeyuan/DWSurvey_Vue/pull/1

gtn1024 avatar Sep 16 '22 04:09 gtn1024

@wkeyuan

nomeguy avatar Oct 04 '22 02:10 nomeguy

.....

easyandeasy avatar Oct 04 '22 02:10 easyandeasy