OpenID Connect
Premium Certified Partner
Maintained by
Enovation Dev Team, Lai Wei, Patryk Mroczko
The OpenID Connect plugin provides single-sign-on functionality using configurable identity providers.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
I think this happens when they are logged into Moodle and they go single sign on to Office 365. Somewhere the user is set to OpenID... after that they can no longer log in to Moodle.
We are using Moodle 3.1 and OpenID 3.0.0.5. Is this bug known?
I left my Auth Endpoint and Token Endpoints as the defaults (login.windows.... so on)
The redirect URI is http://our.moodle.server.com/auth/oidc/
I've used Authorization Request
Running version 2.9
I get the following error when setting an admin account for the Office plugin:
OIDC id_token not received.
with the following debug information:
Debug info:
Error code: errorauthnoidtoken
Stack trace:
line 145 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
line 77 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
line 92 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
Any idea what's wrong here?
I received an email from Azure Team as following...
---------------
"On August 15, 2016, the Azure Active Directory (Azure AD) signing key will roll over. Your application(s) may experience downtime if it does not automatically handle this rollover. ...
If the application does not handle the signing key rollover, the application needs to be updated to the new signing key manually."
---------------
I'm not sure whether OpenID can handle the signing key rollover automatically.
If it is not, what should I do?
Thanks
Zurina
As for the crashing issue you're experiencing - do you receive an error message when your install crashes? If it's just a white page, can you enable developer debugging and display debug messages? Explained below if you're unfamiliar with that:
If you are able to log in to Moodle some other (before installing the plugin, for example), can you go to Site Administration > Development > Debugging, and set "Debug messages" to "Developer" and enable "Display debug messages". Click Save changes.
If you are not able to log in to Moodle (on a crashing site, for example), can you add the following:
$CFG->debug = 32767;
$CFG->debugdisplay = 1;
to your Moodle's config.php file. This will force developer debugging and display error messages.
If you can get us the error message that is causing the crash we can help resolve the problem or fix whatever might need fixing. Please note that you should disable developer debugging and display debug messages after getting the error message. (i.e. remove the config.php lines or reset the settings in the UI).
Thanks!