Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

facebook login through website not working--authentication failed error

kiranc13433869
Level 4
Level 4

hi,

i am trying to login on facebook though my website.

on aem side, i have followed all steps-->Social Login with Facebook and Twitter

on facebook side, i have added app details, facebook login as product.

i am not understanding what should be value of "Valid OAuth redirect URIs" field under facebook login

currently i have passed only website url. like "https://www.abcd.com"

from my website-->

it is asking me login details--> and ends up with authentication failed error

but when i try normal login in other tab it works. but no user is created  at aem side.

i am getting below status error 403 when it gives authentication failure error

1414258_pastedImage_0.png

kindly let me know what else needs to be added.

5 Replies
smacdonald2008
Level 10
Level 10

We are checking with the team on this.

apanghal
Employee
Employee

Valid OAuth redirect URIs - It should be the valid URL to your web app. If its running on localhost:4503 it should be http://localhost:4503. if your instance is running and being accessed https://www.abcd.com ,  it should be  https://www.abcd.com.

if you are accessing your instance via ip:port address it should be a valid http://xxx.xxx.xxx.xxx:xxxx ip:port address.

Error 403 means there is a mismatch in redirect URI where FB wants you to redirect and where (the instance) you are doing OAuth.

kiranc13433869
Level 4
Level 4

hi,

thanks for update.

i changed url and authentication error is gone.

but now i am getting error as

1416391_pastedImage_0.png

i have provided all necessary access information in fb configuration.

1416416_pastedImage_1.png

same i have added in adobe granite oauth app provider

let me know what else needs to be added.

shubhamg9400285
Level 3
Level 3

Hi, were you able to enable twitter login?

Facebook is working for me but twitter is just not working at all.