justchokingaround / jerry

watch anime with automatic anilist syncing and other cool stuff
GNU General Public License v3.0
291 stars 20 forks source link

Authorization URL does not work, "unsupported_grant_type" #6

Closed Tholleman closed 1 year ago

Tholleman commented 1 year ago

When first starting jerry, the following is shown:

Paste your access token from this page:
https://anilist.co/api/v2/oauth/authorize?client_id=9857&response_type=token:

The following is shown on that page: {"error":"unsupported_grant_type","message":"The authorization grant type is not supported by the authorization server.","hint":"Check that all required parameters have been provided"}

The current workaround I use is by just always passing -i

justchokingaround commented 1 year ago

did you authenticate with your anilist account?

Tholleman commented 1 year ago

How would I even do that when the url only leads to that error? Where should I authenticate it?

justchokingaround commented 1 year ago

How would I even do that when the url only leads to that error? Where should I authenticate it?

it should prompt when running the script without any args.

justchokingaround commented 1 year ago

also, please show me the output of

cat ~/.cache/jerry/anilist_token.tkt
Tholleman commented 1 year ago

anilist_token.tkt does not exist

I really don't know how I can describe it better. Here's a video in case that helps: https://youtu.be/Sx4et13xtQI

justchokingaround commented 1 year ago

can u run

jerry -u

and try again pls, it should be fixed now, seems like it was a typo

Tholleman commented 1 year ago

Perfect! Thank you so much.

On an unrelated note: seems there's an outage or something because it can't find videos on zoro or gogo.

Thanks again for your work

justchokingaround commented 1 year ago

seems to work fine for me

image

Tholleman commented 1 year ago

Works fine again, must have been temporary