Compared to the main project by Jan Menzel, I tested the plugin with Limesurvey v5 (5.6.7) and it works just fine. I also added a feature, that a user needs to have a specific role to login. This feature can be de-/activated and the role and claim Name can be adjusted. I need this feature myself, because I use keycloak and dont want everybody in my realm to access limesurvey, only the ones who got the keycloak group to access limesurvey.
So my userinfo Token looks like this:
This plugin is not maintained by me anymore.
Feel free to create a fork if you would like to customize it.
I am really grateful for your pull requests, but as I am not working with PHP and Limesurvey anymore I can't test them and ensure that everything works fine after a merge.
If you would like to continue to maintain this project please open an issue to get in touch with me. โบ
-
Download the plugin.
-
Install necessary dependencies via composer.
composer install
- Zip the plugin with all dependencies installed.
zip -r AuthOpenIDConnect AuthOpenIDConnect/*
- Install the plugin in LimeSurvey and fill in the necessary settings in order to connect to your ID Provider.
Thanks to Michael Jett for providing the OpenID Connect Client!
Thanks to Jan Menzel for providing the AuthOpenIDConnect plugin!