Skip to content

Commit

Permalink
improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
luisvix committed Apr 20, 2024
1 parent 68edcd5 commit ff4a44b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class AppController {
@Get()
@Redirect('https://dev.cuentacoins.com')
getHome(@Req() req) {
console.log({ oidc: req.oidc });
console.log({ authenticated: req?.oidc?.isAuthenticated() });
}

@Get('health')
Expand Down
2 changes: 0 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import { NestExpressApplication } from '@nestjs/platform-express';
secret: config.auth0.secret,
};

console.log({ auth0Config });

app.use(auth(auth0Config));

app.enableCors();
Expand Down

0 comments on commit ff4a44b

Please sign in to comment.