google oauth working

This commit is contained in:
Gabriel Rosa
2022-06-24 13:03:16 -03:00
parent 07f123e528
commit 498ea61c06
5 changed files with 64 additions and 16 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export class OauthController {
if (!authInfo) throw new BadRequestException('Oauth tokens not found');
const { accessToken: access_token, refreshToken: refresh_token } = authInfo;
const { customer_id } = request.query;
const { state: customer_id } = request.query;
const response = await this.inputService.create({
info: { customer_id, customer: 'customer', user_id: 'empty' },