Ombi-app / Ombi

Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
http://ombi.io
GNU General Public License v2.0
3.72k stars 395 forks source link

Ombi Native iOS app plex oauth not working #4746

Open megapearl opened 2 years ago

megapearl commented 2 years ago

Describe the bug Can't login via plex oauth in ombi native app, while logging in using the mobile web version works fine. The 'Application URL' is set correctly in ombi, ombi is running in a docker via reverse nginx proxy as a subdomain.

To Reproduce Steps to reproduce the behavior:

  1. Open Ombi App (on iOS or Android, I tested both)
  2. Tap Plex oauth
  3. Tap Sign in
  4. An error appears "We were unable to complete this request You may now close this windows"

Expected behavior Logging in via Plex oauth in the native ombi app should work.

Screenshots image

Logs (Logs directory where Ombi is located) If applicable, a snippet of the logs that seems relevant to the bug if present.

Desktop (please complete the following information):

Additional context Problem does not occur in the web version (logging in to ombi via plex oauth in safari mobile browser on that same phone).

github-actions[bot] commented 2 years ago

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Have you looked at the wiki yet? https://docs.ombi.app/
Before posting make sure you also read our FAQ.
Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Thanks!
Ombi Bot.

tidusjar commented 2 years ago

What’s your application name set to?

megapearl commented 2 years ago

request.mydomain.com

tidusjar commented 2 years ago

No, the application name, not the application url.

I’ve seen this happen previously when the application name contained non alpha numeric characters

megapearl commented 2 years ago

Ah... it is "Donald's Media Server" do I need to escape the " ' "?

megapearl commented 2 years ago

I tried to set it to just 'Donalds Media Server' but it did not make any difference.

megapearl commented 2 years ago

When I use my plex.tv username (not the e-mail address) and password (with added 6 digits 2fa after password) instead of plex oauth I can login to the ombi native app. Is there anything I can try to troubleshoot or debug?

4pack commented 2 years ago

I'm having the same issue. My application name is Matt's PlexReq, which would make sense if it's an escaping issue.

megapearl commented 2 years ago

Did you fix it?

4pack commented 2 years ago

I did not yet. The only way I've been able to log in is the same way you have been.

When I use my plex.tv username (not the e-mail address) and password (with added 6 digits 2fa after password) instead of plex oauth I can login to the ombi native app.