paulvanbladel / aurelia-auth

:key: Authentication plugin for aurelia
200 stars 74 forks source link

I am unable to get token when click on login with facebook. #186

Open ajeetchoudhary opened 6 years ago

ajeetchoudhary commented 6 years ago

Hi,

I am using your aurelia-auth application from your repository. I have made necessary changes in authConfig file with respect to Facebook login.

when I run below code it opens a popup which throwing 500 internal server error as there is no end point https://mydomain.com/auth/facebook.

return this.auth.authenticate('facebook') .then((response) => { console.log("auth response " + response.token); }).catch(err => { console.log("authenticatefailure : ", err); });

Let me know do I need to include some ting else.

ajeetchoudhary commented 6 years ago

image image

ajeetchoudhary commented 6 years ago

Any update on this as i need to close this implementaion soon.