Hi, im sorry to bring this topic up again, but im trying to implement a single-sign-on with IServ and Dokuwiki.
I thought, that i could use the oauth-generic-Plugin, but it won't work.
I have given the plugin the information below, but if i try to login i got multible errors. (400,401, ...):
- URL to the authentication endpoint: <url>/iserv/oauth/v2/auth
- URL to the token endpoint: <url>/iserv/oauth/v2/token
- URL to the user info API endpoint (must return JSON about the authenticated user): <url>/iserv/public/oauth/userinfo
- Authorization method used when talking to the user API: Bearer-Header
- Scopes to request (comma separated): openid, profile, email, groups
- Access to the username in dot notation: profile.preferred_username
- Access to the full name in dot notation: profile.name
- Access to the user email in dot notation: email.email
- Access to the user groups in dot notation: groups.groups
If I check the state option on. I get the 400 error. If i leave it empty i get this error:
OAuth\OAuth2\Service\Exception\InvalidAuthorizationStateException:
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the oauth plugin.
More info has been written to the DokuWiki error log.
I have already stated the error on github: https://github.com/cosmocode/dokuwiki-plugin-oauth/issues/145
Could someone (maybe @mb70) provide me some help on this?