Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing Instagram Login in React App

I am trying to implement Instagram Login in my React App. I am setting the Client OAuth Redirect URL to http://localhost:3000 but the Developer account is not accepting the URL saying it has to be https.

Any suggestions on whats the best way to implement Instagram Login in React App

like image 537
Harsha M V Avatar asked Apr 01 '26 03:04

Harsha M V


2 Answers

Have you tried this solution? https://create-react-app.dev/docs/using-https-in-development/

like image 193
Sevy Avatar answered Apr 02 '26 21:04

Sevy


Checkout these threads which discuss using localhost Redirect URI may be helpful https://developers.facebook.com/community/threads/1035796896617512/ https://developers.facebook.com/community/threads/2324374700917110/

Also from https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/

You will still be able to use HTTP with localhost addresses, but only while your app is still in development mode.

like image 33
Andrew L Avatar answered Apr 02 '26 21:04

Andrew L



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!