Added support for external signins on Admin

This commit is contained in:
Wyatt Johnson committed 2018-05-10 16:44:19 -06:00
1 parent 462f5e8206
commit 33be00a540
9 files changed
+121 -48

No files matched your search

@@ -1,3 +1,5 @@
import { handlePopupAuth } from 'plugin-api/beta/client/utils';
export const loginWithFacebook = () => (dispatch, _, { rest }) => {
window.location = `${rest.uri}/auth/facebook`;
handlePopupAuth(`${rest.uri}/auth/facebook`);
};