OpenId Connect Error

OpenId Connect Error

by Alexis Boza -
Number of replies: 2

Hi,

Moodle Version 3.8


After an architecture update to our Moodle Enviroment, we get this error with the OpenIdConnect Integration.

We upgrade our arquitecture to use: Redis, AWS EFS, AWS Loadbalancer, Gluster FS and 2 moodle instance

Debug info: 

Error code: erroroidccall

×Stack trace:

line 47 of /auth/oidc/classes/utils.php: moodle_exception thrown

line 252 of /auth/oidc/classes/oidcclient.php: call to auth_oidc\utils::process_json_response()

line 206 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\oidcclient->tokenrequest()

line 107 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()

line 105 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()


No changes were made to the office 365 plugins .

Any thought on now to resolve this error


Average of ratings: -
In reply to Alexis Boza

Re: OpenId Connect Error

by Ross Lovell -
We've just migrated our Moodle site to a new Ubuntu 20.04.1 LTS server and were getting the same errors as you when trying to sign in using the OpenID Connect authentication method.

After doing some investigation we found that the OpenID Connect authentication had somehow been turned off during the migration process. After switching it back on everything started working as normal.
In reply to Ross Lovell

Re: OpenId Connect Error

by Alexis Boza -
Hi Ross, In our case we change our AWS EFS, and now we are using NFS system.
Seems AWS EFS is too slow to handle OpenId token request for sessions.