felixrupp / user_cas

This app provides CAS authentication support for ownCloud and Nextcloud, using the phpCAS library of jasig/apereo.
Other
21 stars 24 forks source link

Error: Internal script failure #62

Closed soda31 closed 5 years ago

soda31 commented 5 years ago

Hello,

I have a critical problem to use user_cas app

As I was not sure that the problem was linked to my platform I use nextcloud demo to reproduce problem

At login page I choose "CAS" and got Error: Internal script failure

So at this step unable to relogin even with normal auth fields

Same thing if no fields in cas app are set up

What I do wrong ?

Thanks !

felixrupp commented 5 years ago

Hi @soda31

I am currently checking this out. Please standby.

felixrupp commented 5 years ago

@soda31 I don’t have any problems when entering the CAS host, port and server path. Did you fill in all necessary information? Please refer to the readme, if you are still unclear.

Regards, Felix

soda31 commented 5 years ago

Hi Felix, Thanks for your help !

I made a little video showing error message. I enter nothing in CAS information plugin and was unable to log to nexcloud again.

https://youtu.be/5JPhS9nC0V8

BUT I found how to reproduce error when entering CAS host: As "443" for port was displayed by default in CAS parameters I did not entered it and got script error message.

To resume: no problem if I set host + port fatal problem if I enter only host or nothing: unable to log to Nextcloud again as in the video

But I'm happy that it works (not tested fully because I need to register my nextcloud host on my CAS host)

Thanks for your time and congrats for your work !

Enrique

felixrupp commented 5 years ago

@soda31 Thanks for the video, now I know what you meant. I am going to add some error handling here for possible incomplete setups!

Thank you!

soda31 commented 5 years ago

👍

felixrupp commented 5 years ago

@soda31 Should be fixed with Release 1.7.2