univlorraine / limesurvey-cas

CAS Authentication plugin for limesurvey (based on phpCAS)
GNU General Public License v2.0
25 stars 23 forks source link

1st time account creation doesn't work when already logged somewhere using cas #13

Closed Sylvain38ria closed 6 years ago

Sylvain38ria commented 6 years ago

Hi,

I use limesurvey version 3.14.7+180827 and i have the following problem:

Any suggestions to solve this problem?

Regards, Sylvain

goyome commented 6 years ago

Hi,

If no data is registered in lime_users, you shouldn't be allowed to connect to LS admin.

By the way, the origin can't be the connection to another app through CAS. CAS is the central point and the behavior of authentication doesn't change depending on a previous authentication. The only difference will be that you won't see the authentication form as you are already authenticated.

You should check again that everything is going well when you create a new account on the first connection. (your first case) Then delete the account, and redo the exact same action after having previously authenticating to CAS. You should have the exact same result.

Regards

ghost commented 6 years ago

Hi,

The problem seems to come from my side. Your plugin works correctly. I'm going to look at what's wrong with me. Thank you. Thank you.

goyome commented 6 years ago

Thanks for your reply. Since the problem is not from the code, I'll close this issue.