I need to redirect dynamically in my controller but can't seem to access the method to do so
@Get('return')
@UseGuards(AuthGuard('steam'))
steamReturn (@Req() request: Request, @Res() response: Response ) {
const steamProfile = request.session.steamprofile;
console.log("SteamID:", steamProfile.steamid);
response.redirect()
return "Success";
}