Comments (23)
The problem seems gone without the need for changes :)
from react-native-instagram-login.
@superandrew213 seems promising. I can't test it at the moment. I will let you know when I have an update!
from react-native-instagram-login.
check your redirect URIs in your code and https://instagram.com/developer/clients/manage/, tab Security. If it still errors, you can remove app and rerun again.
from react-native-instagram-login.
@amanolar94 are you located in a European country?
@hungdev I think this issue happens for European users and is being caused the GDPR updates that Instagram had to make on their website.
Maybe they are trying to notify European users that they are using cookies on their website. They probably didn't test these changes on their login form.
from react-native-instagram-login.
I also think it's because of that. I used VPN to connect outside Europe and everything was working fine
from react-native-instagram-login.
@amanolar94 can you try to login in on your Instagram app?
Would love to know if this issue is with this login form only or with the Instagram app too. I'm pretty sure Instagram is using a WebView for their login form on their app too.
I'm in Australia and it's working fine for me.
from react-native-instagram-login.
@superandrew213 Instagram connects normally. I think something is wrong with Instagram though since we have both Android and Instagram app and they both broke the same time
from react-native-instagram-login.
Thanks for testing. I think there could be a way we could fix this.
Can you try going to this link on your browser, try to login and let me know what happens. Do you get any accept cookies pop, etc?
Please replace XXXXXX with your client_id and redirect_uri.
If it works, make sure to logout and, then try to go to this link (replace XXXXXX with your values again) and try to login again.
By removing force_classic_login
from the url params we can use the new Instagram form to login.
from react-native-instagram-login.
@superandrew213 OK i tried both but I seem to get the following error: {"error_type": "OAuthException", "code": 400, "error_message": "You must include a valid client_id, response_type, and redirect_uri parameters"}
I noticed though that the url on the browses is the following: https://www.instagram.com/oauth/authorize/?client_id=XXXXXXXXXXXXX
which i guess means for some reason the parameters don't pass after the redirect from the login
from react-native-instagram-login.
@amanolar94 you have to replace the XXXXX
in the url with your values.
Are you still getting the login issue when you try to login with Instagram on your app? I think Instagram might have fixed it.
from react-native-instagram-login.
@superandrew213 No they have not fixed it yet. I have replaced the XXXs with the values but for some reason after the login the parameters don not pass along with the client id.
from react-native-instagram-login.
@superandrew213 I've the same issue and your first link return me the same error message.
from react-native-instagram-login.
@Ilario17 are you also located in Europe?
from react-native-instagram-login.
@amanolar94 Yes, wait Instagram is the only solution?
from react-native-instagram-login.
@Ilario17 It's not the only but we had it as a signup method and it does not seem to work
from react-native-instagram-login.
Ok. Let's try this link:
https://api.instagram.com/oauth/authorize/?client_id=XXXXX&redirect_uri=XXXXX&response_type=token
Please don't forget to replace XXXXX
with your values. Once you go to this link you will be redirected to this url:
https://www.instagram.com/accounts/login/?force_classic_login=&client_id=...
Try to login and let me know what happens here. Do you get some sort of error, cookie pop up and also check console output.
I tested using a VPN to make requests from France, Germany and UK but didn't encounter any issues. Tested both through browser and iPhone simulator. But I can confirm that EU users are still having this issue.
from react-native-instagram-login.
@amanolar94 and @Ilario17 did you guys have a chance to do the test above?
from react-native-instagram-login.
Hi,
when I login from Simulator with the first link, I encounter the same issue:
from react-native-instagram-login.
@Ilario17 thanks! Can you please try it on the browser too.
from react-native-instagram-login.
@superandrew213 I tested it in Safari inside Simulator
from react-native-instagram-login.
@Ilario17 please try one last thing. Go to the login link above but donβt login. After the login form loads, go to the URL and remove this part force_classic_login=&
and then press enter and try to login.
from react-native-instagram-login.
Hi @superandrew213 there isn't force_classic_login
. When I try with both links, the redirect happens on this link:
from react-native-instagram-login.
@Ilario17 interesting! That's not the form I get. They must be redirecting some users to this new form. I am getting the old form.
Please try adding force_classic_login=&
to the url of the new form you are getting. Like this:
https://www.instagram.com/accounts/login/?force_classic_login=&client_id=...
from react-native-instagram-login.
Related Issues (20)
- 403 Error [URGENT] HOT 15
- Invalid Response Type token HOT 2
- Getting Invalid User Id
- "Continue with Facebook" doesn't work. HOT 4
- Could you update axios so it is no longer a critical vulnerability HOT 5
- Adding types HOT 2
- How is this component secure? The app secret is required in the component? HOT 1
- Redirect on a mobile screen
- returns status 403 when using code to fetch access token HOT 16
- signup with instagram working on amulator debug mode but not working when I close debuger HOT 2
- Getting Invalid User Id
- Documentation has incorrect params HOT 2
- onLoginFailure being triggered every time HOT 49
- after logging in it redirect the user to the redirect url in android that is set to google (ios is working fine) HOT 2
- WebView error: Invalid plateform app HOT 3
- react-native-instagram-login page return a HTML page on failure HOT 2
- Invalid scope [ ] error HOT 4
- react-native-instagram-login throwing Invariant Violation HOT 3
- Opens instagram app HOT 1
- Deprecating Facebook Login support on Android WebViews HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-instagram-login.