Refresh token with Moodle OIDC

Refresh token with Moodle OIDC

by Xodenni Louke -
Number of replies: 1

Hello,


I have installed Moodle version 4.5.3 with the OpenID Connect plugin (https://moodle.org/plugins/auth_oidc).
Authentication works perfectly and I have no apparent problems.
However, the refresh token code was missing in the plugin, so I coded it myself.

Once I had installed my updated plugin, I noticed that my OIDC server (Keycloak) wasn't receiving any token renewal requests.
So I deduce that Moodle itself renews the token without going through the authentication system (OIDC in my case).

Do you know how to force OIDC to refresh the token?

Thanks for your help

Average of ratings: -
In reply to Xodenni Louke

Refresh token with Moodle OIDC

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
As that is an optional plugin, you might do better to ask in their Github issues tracker. It's quite possible that nobody in these forums is familiar with this plugin (I'm certainly not).