Add endpoints on pusher to resolve wokas

This commit is contained in:
Alexis Faizeau
2022-02-17 15:02:11 +01:00
committed by David Négrier
parent f993aa4f5a
commit 2161a40e05
12 changed files with 1880 additions and 1 deletions
@@ -69,7 +69,7 @@ export class AuthenticateController extends BaseHttpController {
//if not nonce and code, user connected in anonymous
//get data with identifier and return token
if (!code && !nonce) {
return res.json(JSON.stringify({ ...resUserData, authToken: token }));
return res.json({ ...resUserData, authToken: token });
}
console.error("Token cannot to be check on OpenId provider");
res.status(500);