Problem with Instagram authentication if user is not logged to instagram beforehand
See original GitHub issueI have a weird problem with Instagram OAuth in two apps - one using latest and one bit old python-social-auth. If a user tries to login with Instagram then subsequent access_token request will fail:
400 Client Error: Bad Request for url: https://api.instagram.com/oauth/access_token
but only if the user isn’t logged in to Instagram beforehand. If you login to instagram while in the process of oauth login it fails, but if you try again it passes. If you login to instagram beforehand and try it passes.
Anyone noticed this behavior?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
I Can't Log In - Instagram Help Center
1. On the login screen, tap Get help logging in. · 2. Enter the username, email address, or phone number associated with your...
Read more >8 Fixes for Instagram Won't Let Me Login Error on Mobile and ...
1. Common Solutions · Too much user activity can lead to temporary account access denial. · Make sure you are entering the correct...
Read more >Why do I keep getting the 'Sorry, we couldn't log you in ... - Quora
1 . Check your account is not logged in on another device 2. Check your network. 3. If you are you using the...
Read more >Instagram Not Sending Security Code to Log In - Thunderclap
How to Fix Instagram Security Code Issues · Check Your Network Connectivity · Try from Incognito Mode · Use an Alternate Verification Mode...
Read more >Recover an account protected by 2-Step Verification
If 2-Step Verification is enforced at your company, administrators or users won't be able to sign in to their accounts if they lose...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found that adding
REDIRECT_STATE = False
to social_core.backends.instagram.py solves the issue (at least in local). When will this be fixed? @omabThis issue is pretty huge, what is the solution? Happens 100%.