I integrate django social-auth in my app.In settings i have given
AUTHENTICATION_BACKENDS,FACEBOOK_APP_ID,FACEBOOK_API_SECRET,
social_auth.context_processors,SOCIAL_AUTH_PIPELINE
etc.
when i click on facebook login
it is redirecting to facebook app login
when logged in
it is redirected back to my app but redirecting to LOGIN_ERROR_URL
and the user is not authenticated.
LOGIN_REDIRECT_URL = '/'
LOGOUT_URL= '/logout/'
LOGIN_ERROR_URL = '/login-error/'
SOCIAL_AUTH_LOGIN_REDIRECT_URL="/home/"
How can i solve this and get my app authenticated? Same is happening with google login
also.Please help.
Thanks.