New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot login into Ombi using Plex account #4232
Comments
Hi! |
On the user management page, with the user guy are trying to login, does it state the user is a Plex user or local user? |
Yes, plex user
…On Tue, Jun 22, 2021 at 2:05 AM Jamie ***@***.***> wrote:
On the user management page, with the user guy are trying to login, does
it state the user is a Plex user or local user?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4232 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQKF536EPW5PPJFIWELYVKTTUAR33ANCNFSM47CWFBTA>
.
|
My plex oauth also broke after updating to V4. I tried a clean config (using docker) and even in the wizard, the oauth login with plex does not work while the request token button worked great. Seems to be an issue with oauth. I checked the logs and there was nothing useful there. |
Same exact issue here, tried on mobile and PC with the same results. Thought it may have been a cache issue so followed this commenters advice but it did not resolve the issue. |
So when the Plex OAuth window pops up and it states "You can now close this window" are you closing it? Because Ombi will trigger once that window is closed |
@tidusjar Yes, window closes, button does a spinner, notification pops up saying auth failed. Logs (turned up logging to Information):
|
Can you open the dev tools? F12. If so can you press the network tab and then refresh the page and attempt to log in. You should see a call to |
No problem, it posts some data (let me know if you want that as well) and the response is:
|
There should be another call once you close the window a GET |
My apologies, here is the response to the GET request: |
Would discord be fine? Out of curiosity what timezone is your ombi server in? Also is the time correctly set? |
@tidusjar Discord works for me (Nooblazor#7778).
|
@pyarmak That was my theory, so nice investigation there. Can you grab a new PIN Id and call Because the only time we would get that message is if Ombi things the Pin has expired OR the authToken returned from the above API call is null/empty |
I have also been experiencing this issue for a few days now with the latest docker container (which reports as but I have some errors like this:
And indeed when watching the developer tools during the login process, eventually, the |
That's a different issue, I'd suggest you change the database to use MySql, check the docs on how to do this |
I've made some changes relating to this issue in the develop branch, more information is now outputted to the logs when there's a OAuth Pin failure, it would be amazing if someone could try the new build and let me know the results. Also when you close the Plex OAuth window, how long does it take until Ombi tells you that it could not log in? Under or over 10 seconds? |
I can confirm that, at least on my end, the update you pushed seemed to have fixed the issue! |
Also seems to have fixed the issue for me. Thanks! |
Awesome, so the issue was basically I was checking if the token had expired. The token issues is in local time, but I was checking against UTC |
Describe the bug
Whenever I/Users try to login into Ombi (on a web page, works fine on computer/ IOS app) using plex authentication it says "you have successfully signed in. You may now close the window. The window, doesn't auto close and it doesn't log into ombi.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Plex window auto closes and logs me in
Screenshots
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):
Ombi Version (please complete the following information):
Additional context
Love Ombi, but please help|!
The text was updated successfully, but these errors were encountered: