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

Administration #15

Closed nmd28 closed 6 years ago

nmd28 commented 6 years ago

Hello. I follow the step here and when I try to open the administration panel, nothing happen. It's start after I add the user_cas. I get this php error : Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. Any advice ?

Thanks

felixrupp commented 6 years ago

Hi @nmd28

the error you are refering to is a JavaScript error which has nothing to do with the user_cas app.

What exactly is working/not working? Which OC, user_cas and phpCAS versions are you using? Which PHP version are you using?

Greetings

Felix

nmd28 commented 6 years ago

Hi. I'm using OC 9.1.7, php 7.1, the last version of user_cas, phpCAS 1.3.5. I'm really new with this stuff. Thanks for replying

felixrupp commented 6 years ago

Hi @nmd28

I am afraid, you're using an outdated user_cas version. You have to manually overwrite the existing old 1.3.5 version with my current 1.4.x version. You can grab it on the release-page

Please report back when you tried that version.

Regards

Felix

nmd28 commented 6 years ago

Hi Felix, Massive thanks for your help. It work !

felixrupp commented 6 years ago

Hi @nmd28

no problem, have fun using the app and report any bugs you can find!

Regards, Felix