After the first method is executed successfully AuthProvider(provider) the second one SocialLogin(provider, response) goes on the exception part (catch block). I'm implementing only the front-end part of the application, so what does this method do this.$http.post('/sociallogin/' + provider, response)? Is it a post in my back-end application or on the provider application?
After the first method is executed successfully AuthProvider(provider) the second one SocialLogin(provider, response) goes on the exception part (catch block). I'm implementing only the front-end part of the application, so what does this method do this.$http.post('/sociallogin/' + provider, response)? Is it a post in my back-end application or on the provider application?