Auth0 Home Blog Docs

Social login not working due to CORS

auth0
login

#1

I am rendering auth0 login page inside iframe and i have no custom domain so when i try to login via social connection(Google/LinkedIn) then it will show the following message in browser console.

Refused to display 'https://accounts.google.com/o/oauth2/auth?prompt=&response_type=code&redirect_uri=xxxxxxxxxlogin%2Fcallback&scope=email%20profile&state=xxxxxxx&client_id=xxxxxxxxxx in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

So anyone can help me how i can resolve this issue?


#2

Hey, I am also newbie. and I just logged in via gmail account. Try after sometime. or Check your internet connection. It sometimes show due to slow internet.

Tell me if you still cant do it.
Thanks,
kissanime


#3

@DyraSan Issue is due rending auth0 login page inside iframe.