SIMKL authorize callback does not happen #58
-
|
I've just started over with Crosswatch, and am having an issue where I'm unable to add SIMKL as an authentication provider.
Any thoughts? This was working on my previous install so I'm at a loss. Surely I missed something obvious.... |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 17 replies
-
|
Could be a couple of things: 1.Is the correct redirect URI configured in SIMKL in your SIMKL Apps (where the client and secret ID are stored?)
Normal flow would be: ....and i just tested it with 0.6.4: |
Beta Was this translation helpful? Give feedback.
-
|
Oh and check if your container has internet access. |
Beta Was this translation helpful? Give feedback.
-
|
Strange one, mostly because I can’t reproduce it on my end. Are you running CrossWatch behind a reverse proxy (Nginx, Traefik, Caddy, Cloudflare, etc.) or anything else in front of it? and what do you get when you do: http://yourhost-or-IP/callback |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue, my instance is via ElfHosted. A new browser tab never opens. Call back URL looks correct and I've set up two different API keys in Simkl to test. |
Beta Was this translation helpful? Give feedback.
-
|
For both of you: it’s a smart idea to add intranet sites like CrossWatch to your pop-up allowlist. chrome://settings/content/popups |
Beta Was this translation helpful? Give feedback.
-
|
One thing I have noticed if you are running locally it will be fine but if you are running on a dedicated server it will take a bit of time. I do run mine through cloudflare DNS proxy which seemed to help. It's not as quick as it use to be. Not a big deal for me at least. |
Beta Was this translation helpful? Give feedback.
think I’ve found the issue. During SIMKL auth, while we’re waiting for the authorize window to be confirmed, CrossWatch polls with an increasing backoff (up to 20s). That’s why you’re seeing the 5-20 second gaps. It’s basically there to avoid hammering the API with a burst of requests.
I’ve updated both the SIMKL and Trakt auth files on main, and I’ll publish a new 0.7.4 image soon.