mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-02 07:39:08 +00:00
FIX: google strategy different callbacks for google
This commit is contained in:
@@ -37,18 +37,6 @@ export class OauthController {
|
||||
return await this.callback(req, 'hubspot');
|
||||
}
|
||||
|
||||
@Get('google')
|
||||
@UseGuards(AuthGuard('google'))
|
||||
async oauthGoogle() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Get('google/callback')
|
||||
@UseGuards(AuthGuard('google'))
|
||||
@Redirect()
|
||||
async oauthGoogleCallback(@Req() req) {
|
||||
return await this.callback(req, 'googleads');
|
||||
}
|
||||
@Get('googleads')
|
||||
@UseGuards(AuthGuard('google'))
|
||||
async oauthGoogleAds() {
|
||||
|
||||
Reference in New Issue
Block a user