flathub / chat.rocket.RocketChat

https://flathub.org/apps/details/chat.rocket.RocketChat
3 stars 9 forks source link

Oauth error access url oauth/authorize : get Redirect URL does not match #39

Closed otnansirk closed 3 years ago

otnansirk commented 3 years ago

Description:

When I access url /oauth/authorize always redirect to /oauth/error/invalid_redirect_uri and get text message Redirect URL does not match. What is happening ?

Steps to reproduce:

  1. Go to setting
  2. Click on Oauth Apps
  3. Iam create oauth app for get client id and key
  4. Use that for login to my app with rocket chat.
  5. And when click button login with rocket chat . BOOM get error like description above

Expected behavior:

I hope it works

Actual behavior:

error is: "error": "Redirect URL does not match", "error_description": "The redirect URI provided is missing or does not match", "error_uri": "MY-DOMAIN.COM/oauth/error/invalid_redirect_uri"

Server Setup Information:

Client Setup Information

Additional context

N/A

Relevant logs:

Nothing log

andrevmatos commented 3 years ago

I can't find this option on my server setup. This seems like an upstream issue and/or your server's setup issue. Oauth isn't handled in Flatpak in any special way compared to the normal running application, so I don't think this issue belongs here. Please, open it in https://github.com/RocketChat/Rocket.Chat.Electron/issues if the issue persists.