-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
Problem with Deviantart Oauth #6515
Comments
Are you able to view Deviantart normally? I've been unable to access the site for days because of a 403 error I believe is related to using a VPN, but I'm not sure that's the same issue you've got |
I have no problems with DA on my end, I can both visit and download galleries using gallery-dl (aside the watch-only stuff, due to being unable to continue with the guided procedure). To ask another question to whoever might read this, is there perhaps another manual way to get the refresh token, something similar to like using a browser plugin to get a site's cookies? |
This should only happen when gallery-dl doesn't get the response it expected. What's the URL your browser is getting redirected to? It should look like
I don't think so. |
Apologies for the late reply. As to answer your question, when I attempt this, the link that appears in my CMD window and opens automatically in my browser is: https://www.deviantart.com/oauth2/authorize?client_id=*clientIDhere*&response_type=code&state=gallery-dl_deviantart_*stringof randomletters*&redirect_uri=https%3A%2F%2Fmikf.github.io%2Fgallery-dl%2Foauth-redirect.html&duration=permanent&scope=browse+user.manage Which then loads into a blank page ( http://localhost:*numbershere*/ ) with the above mentioned error. |
Do you have any other applications running in the background? |
Where does this link redirect you to? It should be http://localhost:6414/?foo=bar&state=123 , but according to
it strips all query parameters, including |
Aside my browser, I don't think anything else?
Directly opening the instructed link in my browser does lead to the second link you mentioned, uh. I really got no clue if its a problem on my end, or something changed on DA's part. |
I got the same issue, any info I could provide to help? |
Maybe this is a new "security" feature of your web browser, where it removes possibly sensitive information from redirects to |
I figured it could be something like that, since I mainly use librewolf and brave, both of which do these kind of shenanigans by default, so i just did a fresh install of both firefox, chrome and chromium, and experienced the same issue, i also tried with firefox 128, it could still be the issue tho, tomorrow I'll thinker with firefox settings & policies see if I come across whichever one causes this behavior. |
I could not figure out what setting makes web browsers behave this way, it may be external as I remembered I have some settings which encrypt my DNS and even tho I disabled them, I couldn't get it to work, but I booted into another fedora system that it's more-so vanilla-ish with a brand new firefox installation + the same gallery-dl version, and I could generate the refresh token without any issues. So it is deffinitely not on gallery-dl part. |
So, I've been trying for the past hour to get the refresh token for Deviantart, so I'd be able to download the "watch only" art, but I keep hitting this roadblock.
I have set up an application, copied both the client id and secret in my config, set up refresh token as cache, deleted whatever DA cache I had, but when I then try the Oauth command, I keep getting this: 'state' mismatch: expected gallery-dl_deviantart_string of random letters, got None.
I have no clue why this happens, nor have been able to find anyone else with my same error. Does anyone have a clue why this happens?
Apologies if my post is lacking in info, but I'm pretty clueless about what I do need to actually provide here, its a miracle I even managed to figure how to set up this program in the first place...
The text was updated successfully, but these errors were encountered: