microsoft / o365-moodle

Office 365 and Azure Active Directory plugins for Moodle
GNU General Public License v3.0
181 stars 136 forks source link

Error Provide admin consent #2402

Open jbouza opened 1 year ago

jbouza commented 1 year ago

Hi,

I using Moodle 4.0.6 and local_o365 4.0.5 (2022041925), with Identity Provider (IdP) Type: Azure AD (v1.0)

I checked configuration many times, but when I accept Provide admin consent, show this error

Debug info: Error code: erroroidccall Stack trace:

line 49 of /auth/oidc/classes/utils.php: moodle_exception thrown
line 345 of /auth/oidc/classes/oidcclient.php: call to auth_oidc\utils::process_json_response()
line 307 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\oidcclient->tokenrequest()
line 137 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
line 168 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
line 31 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()

And error 404 in POST auth/oidc/

In Microsoft365 when accept security permissions and permissions of API, work perferctly

Regars, Jesus

weilai-irl commented 9 months ago

Hi @jbouza

Just some ideas:

By the way, both the version of Moodle (4.0.6) and the Microsoft plugins (4.0.5) are out of support. Please consider upgrading your environment.

Regards, Lai