mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 21:37:59 +00:00
implemented comments
This commit is contained in:
@@ -267,7 +267,3 @@ export const getNewToken = async (req: Request, res: Response) => {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export const handleGoogleCallback = (req: Request, res: Response) => {
|
||||
res.redirect(`/login/provider/success?token=${encodeURIComponent(req.providerAuthToken)}`);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import * as integrationController from './integrationController';
|
||||
import * as keyController from './keyController';
|
||||
import * as membershipController from './membershipController';
|
||||
import * as membershipOrgController from './membershipOrgController';
|
||||
import * as oauthController from './oauthController';
|
||||
import * as organizationController from './organizationController';
|
||||
import * as passwordController from './passwordController';
|
||||
import * as secretController from './secretController';
|
||||
@@ -23,6 +24,7 @@ export {
|
||||
keyController,
|
||||
membershipController,
|
||||
membershipOrgController,
|
||||
oauthController,
|
||||
organizationController,
|
||||
passwordController,
|
||||
secretController,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Request, Response } from 'express';
|
||||
|
||||
export const handleAuthProviderCallback = (req: Request, res: Response) => {
|
||||
res.redirect(`/login/provider/success?token=${encodeURIComponent(req.providerAuthToken)}`);
|
||||
}
|
||||
Reference in New Issue
Block a user