vosmiic / jellyfin-ani-sync

Synchronize anime watch status between Jellyfin and anime tracking sites.
GNU General Public License v3.0
214 stars 15 forks source link

shikimori does not create an application with a redirect to http #144

Closed Druidblack closed 1 day ago

Druidblack commented 1 week ago

Describe the bug shikimori does not create an application with a redirect to http

How do I synchronize with shikimori if I use jellyfin only on a local network over http?

Desktop (please complete the following information):

vosmiic commented 1 day ago

I don't think I quite understand your issue, Shikimori doesn't create an application with a redirect URL, you need to enter your redirect URL which can be generated on the config page (althought the generated URL is not guaranteed to be correct, depending on your specific setup).

Check out the guide on how to auth the plugin with Shikimori: https://github.com/vosmiic/jellyfin-ani-sync/wiki/Providers-Setup#create-app-2

Druidblack commented 1 day ago

Безымянный

vosmiic commented 1 day ago

Can you confirm there isn't a space character at the start of that redirect URL? Also please make sure there isn't an empty line below the single redirect URL

Druidblack commented 1 day ago

https://github.com/vosmiic/jellyfin-ani-sync/assets/70659424/4813d32c-a34e-4c60-88c7-f1cd3742365f

There are no spaces or empty lines .

vosmiic commented 1 day ago

Okay, I believe it is because your Jellyfin instance is hosted under HTTP and not HTTPS. I am able to use HTTP locally (using 127.0.0.1 as my IP) but attempting to set the redirect URL as a LAN IP (e.g. 192.168.1.1) causes the same error you are seeing. I think this security restriction is unique to Shikimori as I don't run into this issue with other providers. Enabling HTTPS in your Jellyfin server settings should fix the issue.