1. Interceptor에서 firebase sdk를 이용하여 jwt[header의 Authorization]를 검증한다.
2. 검증 후 HttpServletRequest Attribute에 CurrentUser 객체를 넣는다.
3. RequestContextHolder을 이용하여 Service 로직에서 CurrentUser를 추출하여 사용한다.
alsdud154/firebaseJwtVerify
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|