Nextcloud aus OAuth Provider

Hi,

I am trying to connect Nextcloud to Rocketchat via OAuth. If I make the custom OAuth settings and configure the endpoint in Nextcloud, the login to e.g. mobile devices via app and browser works without problems.

But on the desktop it doesn’t work with the app. If I want to log in there via Nextcloud, a popup opens with a link to our Nextcloud. If I click there, a browser opens and I get the message “State token does not match”.

If I use Rocket Chat in the browser I can login via Nextcloud.

I think the problem lies in opening a new browser window. The sessions seems to be a different one so the login fails.

Has anyone already started the Custom OAuth with Nextcloud?

Thanks for your help!

Many greetings, Ingo

Hi, did you find any solution to this? I’m having the exact same problem!