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
- MongoDB
- OCR
- react
- Express
- 자료구조
- Python
- Bull
- Nest.js
- jest
- flask
- Queue
- MySQL
- GIT
- game
- nodejs
- class
- mongoose
- Sequelize
- Dinosaur
- AWS
- typeORM
- 공룡게임
- dfs
- JavaScript
- TypeScript
- cookie
- 정렬
- 게임
- nestjs
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