-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
[Bug]: MyAnimelist: can't input / or invalid oauth code #959
Comments
I am also experiencing this bug which makes it impossible to authenticate MAL. |
As a workaround I have a couple small scripts here that do just the MAL and trakt auth bits in isolation and produce the YML ready to paste into your config: https://github.com/chazlarson/Media-Scripts/tree/main/Plex-Meta-Manager |
That worked great, thanks! |
That worked great for me too, thank you! |
new MAL auth method added in 1.17.2 |
I'm sorry to re-open this, but I'm still having this issue on 1.17.2. Getting the exact same error. Tried both the copy/paste and replace client_id method as well as the url generated by the script, and I inputted the http://localhost/?code=CIPHER into the program, but I'm still getting the "Invalid code" error. Note, I included it with and without the http://, but running it through a regex simulator with the regex you're doing doesn't make a difference. Using the docker version from meisnate12/plex-meta-manager on UnRAID. |
@meisnate12 tested on 1.17.2-develop3 on unraid via meisnate12/plex-meta-manager:nightly
@linxchaos advise you to use the @chazlarson script
Happy to test on newest build if you need me~ |
@chazlarson script worked (had to use a different machine to get the script to run, no fault of the script) and it appears that I'm now up and running, but this is still not fixed on PMM proper. |
To be honest I didn't really want to clone and use yet another script. So out of my laziness I think I found a solution for this. DISCLAIMER: I am not too sure about this since I still don't understand OAuth2 very well. But here it is Go to the file Find the line that says code_verifier = secrets.token_urlsafe(100)[:128] and replace it for code_verifier = uni_code_verifier Like this: That seems to do the trick. My theory is that the If you found my answer while searching for your problem and you understand OAuth2 and you are sure this is the way it's supposed to be. Let me know so that I can make a PR and fix this for everybody ;) |
Version Number
1.17.1-develop13
What branch are you on?
nightly
Describe the Bug
Hi,
I am using Docker version from meisnate12/plex-meta-manager:nightly on Unraid.
I am trying to enable MyAnimelist following this guide:
https://metamanager.wiki/en/latest/config/myanimelist.html
Let me know if am missing anything ;-)
Thank you!
Relevant Collection/Overlay/Playlist Definition
No response
Logs
https://gist.github.com/xiaodoudou/f445cefad3e5c17ad889ceb0902b3de0
The text was updated successfully, but these errors were encountered: