Implement facebook auth client

This commit is contained in:
Chi Vinh Le
2018-02-13 12:26:55 +01:00
parent 3999b806c7
commit d857585c7f
10 changed files with 93 additions and 0 deletions
@@ -0,0 +1,7 @@
export const loginWithFacebook = () => (dispatch, _, { rest }) => {
window.open(
`${rest.uri}/auth/facebook`,
'Continue with Facebook',
'menubar=0,resizable=0,width=500,height=500,top=200,left=500'
);
};