1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

logging user in by social

This commit is contained in:
Fedor Katurov 2020-07-29 18:49:29 +07:00
parent 505242c099
commit 43968f14b2
6 changed files with 71 additions and 16 deletions

View file

@ -18,6 +18,7 @@ export const API = {
GET_SOCIALS: '/oauth/',
DROP_SOCIAL: (provider, id) => `/oauth/${provider}/${id}`,
ATTACH_SOCIAL: `/oauth/attach`,
LOGIN_WITH_SOCIAL: `/oauth/login`,
// TODO: REMOVE
VKONTAKTE_LOGIN: `${process.env.API_HOST}/oauth/vkontakte/redirect/login`,
},