By: Christian Paddison user 03 Dec 2018 at 7:46 a.m. CST

5 Responses
Christian Paddison gravatar
After following the instructions on this page twice, it's still not getting to login page: I also tried updating the Microsoft moodle-auth_oidc plugin to see if that would work, but same thing. When I click "Log in using your account on: Gluu OpenID Connect" on Moodle it should go to Gluu login. It goes to the Gluu server (, but it just displays a lot of JSON. (See attached images for configuration info.) ``` i.e. { "issuer": "", "authorization_endpoint": "", "token_endpoint": "", "userinfo_endpoint": "", "clientinfo_endpoint": "", "check_session_iframe": "", "end_session_endpoint": "", "jwks_uri": "", "registration_endpoint": "", "id_generation_endpoint": "", "introspection_endpoint": "", "scopes_supported": [ "email", "clientinfo", "oxd", "profile", "mobile_phone", "phone", "address", "permission", "openid", "user_name" ], "response_types_supported": [ "id_token code", Etc... ```

By Aliaksandr Samuseu staff 03 Dec 2018 at 8:39 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Christian. Can't see any attachments. The JSON in your post is just the OP's metadata. Also, what software package do you use for OIDC client?

By Christian Paddison user 03 Dec 2018 at 8:43 a.m. CST

Christian Paddison gravatar
Hi Aliaksandr, Ok, try clicking on the DropBox image links now. I followed the instructions here exactly: It says to use this OIDC client plugin for Moodle from Microsoft: git clone Thanks! i.e. []( []( [](

By Michael Schwartz staff 03 Dec 2018 at 12:43 p.m. CST

Michael Schwartz gravatar
Note: Azure AD is not OpenID Connect conformant. See We did test an openid connect moodle plugin. Maybe Ganesh can share what he did.

By Ganesh Dutt Sharma staff 03 Dec 2018 at 2:47 p.m. CST

Ganesh Dutt Sharma gravatar
Hi Christian, The settings all seem to be correct. The Microsoft moodle-auth_oidc had worked for us only with earlier version(Don't remember exact version) of moodle. After the upgrade it never worked and ultimately we had to try Oauth plugin. That said I mean, something in moodle/plugin had changed because of which it stopped working. I'll try once more on my VM to configure auth_oidc plugin and share the latest result.

By Ganesh Dutt Sharma staff 04 Dec 2018 at 12:44 p.m. CST

Ganesh Dutt Sharma gravatar
Hi Christian, I've installed the oidc plugin with instructions from: On client side I've added: * Client ID * Client secret * Redirect URI: , where is my VM's FQDN. This value was suggested inside the settings of the oidc plugin. * `Resource` inside moodle oidc settings should be empty. * `client_secret_post` is the authentication method for token endpoint. With above things in place, the oidc login works for me in my fresh installation. * `Grant types` are: authorization_code, implicit , refresh_token * `Scopes` are: openid, uma_protection, user_name and email. * `Response types` are code, token, id_token. Altough these all values for scope and response type may not be necessary. Hope that helps. --- Thanks Ganesh