1. Interceptor에서 firebase sdk를 이용하여 jwt[header의 Authorization]를 검증한다.
2. 검증 후 HttpServletRequest Attribute에 CurrentUser 객체를 넣는다.
3. RequestContextHolder을 이용하여 Service 로직에서 CurrentUser를 추출하여 사용한다.
-
Notifications
You must be signed in to change notification settings - Fork 0
alsdud154/firebaseJwtVerify
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published