Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- OCR
- dfs
- mongoose
- react
- MongoDB
- JavaScript
- Express
- 정렬
- nestjs
- 자료구조
- nodejs
- cookie
- typeORM
- Queue
- Nest.js
- TypeScript
- jest
- 게임
- flask
- game
- Python
- AWS
- MySQL
- Dinosaur
- 공룡게임
- GIT
- Sequelize
- class
- Bull
Archives
- Today
- Total
목록SAML (1)
포시코딩
[NestJS] SAML Assertion에 값 추가 (passport-saml, strategy)
Guard import { ExecutionContext, Injectable, UnauthorizedException } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { SamlStrategy } from './saml.strategy'; @Injectable() export class SamlAuthGuard extends AuthGuard('saml') { constructor(private readonly samlStrategy: SamlStrategy) { super(); } canActivate(context: ExecutionContext) { const request = context.switchTo..
Node.js
2024. 2. 5. 18:41