cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 78 forks source link

HTTP 400 on timeout of Keycloak token #122

Closed igittigitt closed 2 years ago

igittigitt commented 2 years ago

I'm using the oauth-plugin in conjunction with Keycloak as a single-service-login. All went fine so far, but as the auth-token expire a user get a 400 in DokuWiki:

OAuth: An error occured during the request to the oauth provider: [HTTP 400]

I would love to have the possibility to redirect to the Keycloak loginpage in such a case, instead of presenting an errormessage, as this is a usual task and not an error.

splitbrain commented 2 years ago

this should be reported at the oauthkeycloak repo.

I don't think a 400 is normal behavior. something is wrong with refreshing the token