httr icon indicating copy to clipboard operation
httr copied to clipboard

I am getting the error message “Insecure Login Blocked: You can’t get an access token or log in to this app from an insecure page. Try re-loading the page as https://”

Open Sb9309 opened this issue 8 years ago • 40 comments

I have add Facebook login product and changed setting as per the attachment, Still not able to connect to Facebook page. capture

Command using in Rstudio: appID <- "My app ID" appSecret <- "My app secret fb_oauth <- fbOAuth(app_id=appID, app_secret=appSecret, extended_permissions = TRUE)

Sb9309 avatar Mar 28 '18 00:03 Sb9309

I have the same problem, please help...

hsmr29 avatar Apr 04 '18 18:04 hsmr29

Hi,

Please try below link, it might help: Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https:// https://stackoverflow.com/questions/49403748/insecure-login-blocked-you-cant-get-an-access-token-or-log-in-to-this-app-from

Thanks, Sukriti

Best Regards,

Sukriti Bhadoria

On Wed, Apr 4, 2018 at 7:59 PM, Hugosimon29 [email protected] wrote:

I have the same problem, please help...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/r-lib/httr/issues/515#issuecomment-378708802, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj-APZuuNd79XWu8_X2fero98vQFlHC0ks5tlRf3gaJpZM4S904v .

Sb9309 avatar Apr 04 '18 19:04 Sb9309

I think this is a duplicate or just related to #510 but issue is still there too.

cderv avatar Apr 04 '18 20:04 cderv

Perhaps using some tools provided by a library such as hello.js you could login from localhost. I already solved but migrating to https but I leave this link to see if it serves: https://adodson.com/hello.js/#features

hsmr29 avatar Apr 04 '18 20:04 hsmr29

fb secure login

Can some one help me in this

kamalrajs65 avatar Apr 05 '18 11:04 kamalrajs65

I also get same error. My site have SSL enabled still shows error. Can anyone help?

Promos10 avatar Apr 10 '18 07:04 Promos10

Hello, i have my site in http, and image from @kamalhappysanz is apearing when i click fb login button.

do i need https in order to use FB login buttons??

jacielluve avatar Apr 11 '18 18:04 jacielluve

Yes, the Facebook policies require the use of https

hsmr29 avatar Apr 11 '18 18:04 hsmr29

Hi all,

im having the same issue any chance tow to fix this issue (Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://)

Carlitosuk avatar Apr 13 '18 14:04 Carlitosuk

The policies of the Facebook API restrict access to http pages, only access to https pages is allowed. There are libraries that you can use that allow you to visit your page from http for example https://www.npmjs.com/package/fbgraph

hsmr29 avatar Apr 13 '18 19:04 hsmr29

Hiya, Thanks for getting back to me I already have https on my website and Facebook login but unfortunately still giving me the same error which I have mentioned on he previous message any help please? Thanks

Carlitosuk avatar Apr 14 '18 05:04 Carlitosuk

Same problem.......It says "Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://"........Anybody found solution

lokprakashpandey avatar Apr 14 '18 16:04 lokprakashpandey

they solved it, I have the same problem

JMVasquezR avatar Apr 18 '18 15:04 JMVasquezR

Thanks I have solved mine already by installing a certificate and providing a https redirect URI

lokprakashpandey avatar Apr 18 '18 16:04 lokprakashpandey

You could help me with the type of configuration you have. because I also have the certifcate but the same error keeps coming up

JMVasquezR avatar Apr 18 '18 16:04 JMVasquezR

@Carlitosuk you have to try another method it wont worked for me

kamalrajs65 avatar Apr 19 '18 03:04 kamalrajs65

If you want, you can checkout here: https://github.com/lokprakashpandey/FacebookLogin

lokprakashpandey avatar Apr 19 '18 13:04 lokprakashpandey

solve it, thanks

JMVasquezR avatar Apr 20 '18 23:04 JMVasquezR

I just resolved this issue on a website i manage with this steps: sign-in to your facebook developers platform -- under facebook login -- go to Settings -- Valid OAuth Redirect URIs -- (after filling your app domain details, Copy and Paste the code below Ctrl&Shift V) "replace the example.com with the domain name you're activating social login for" https://example.com/?SuperSocializerAuth=Facebook

It should work fine!, just say thanks to my mail: [email protected] But if you would like me to help you fix it, or do other stuffs simply contact me on: [email protected] or call: +2348186479089.

EzraPro avatar May 01 '18 08:05 EzraPro

Anybody found solution for this? You can’t get an access token or log in to this app from an insecure page. Try re-loading the page as https://

veerapandian22 avatar May 09 '18 10:05 veerapandian22