Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceção - syntax error, unexpected fully qualified name "\auth_oidc\utils" #2733

Open
guidprodrigues opened this issue Dec 16, 2024 · 1 comment
Assignees
Labels
Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - auth_oidc

Comments

@guidprodrigues
Copy link

guidprodrigues commented Dec 16, 2024

I'm having this issue while trying to grant admin permission.

Exception - syntax error, unexpected fully qualified name "\auth_oidc\utils"

More information about this error

Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace:
line 195 of /auth/oidc/classes/oidcclient.php: ParseError thrown
line 538 of /auth/oidc/classes/loginflow/base.php: call to core\component::classloader()
line 226 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\base->get_oidcclient()
line 126 of /local/o365/classes/page/acp.php: call to auth_oidc\loginflow\authcode->initiateadminconsentrequest()
line 146 of /local/o365/classes/page/base.php: call to local_o365\page\acp->mode_adminconsent()
line 35 of /local/o365/acp.php: call to local_o365\page\base->run()

Have just made the configurations following this: https://docs.moodle.org/405/en/Microsoft_365
Have done the manual Application

Using Moodle 4.5.1 and Microsoft 365 Integration 2024100700

@weilai-irl
Copy link
Collaborator

Hi @guidprodrigues

Could you confirm if you are using the release version of the plugins without modifications please? I don't see how the error can be thrown from Line 195 of /auth/oidc/classes/oidcclient.php

.

There is also no use of fully qualified name "\auth_oidc\utils" in that file.

Regards,
Lai

@weilai-irl weilai-irl self-assigned this Jan 31, 2025
@weilai-irl weilai-irl added Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - auth_oidc labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - auth_oidc
Projects
None yet
Development

No branches or pull requests

2 participants