Open fjf2002 opened 1 year ago
Thank you for the awesome suggestion. I will try it.
I forgot to mention the use statements needed:
use OAuth\Common\Http\Exception\TokenResponseException;
use OAuth\Common\Token\TokenInterface;
Hello @YoitoFes, any advancements on this topic? Thank You.
We are also affected. Any news here @YoitoFes ? Thank you
IMO, the suggested approach is dependent on the hard-coded string in dokuwiki\plugin\oauth\HTTPClient, making the maintenance hard.
Since I want to check the field/method which indicates HTTP status code directly, made the feature request (cosmocode/dokuwiki-plugin-oauth/issues/149).
In loose conjunction with #5,
when users click around in a 15 mins old dokuwiki webpage, they get a
in their face. It simply should read, "You have been logged out. Please re-login."
Inside Keycloak.php, you could override the method
refreshAccessToken
with: