Comments (9)
@KoEonYack
호고동 그렇네요!! 고마워요!
from dev-event-client.
@leedoopal 와~~~~ 반가워요~!
그렇네요~ 회원 상세 정보 조회 API를 만들어둘께요~!!
페이지 이동할때마다 API를 호출하지 않는것이 맞죠~~?!
from dev-event-client.
@KoEonYack
당연하죠! 로그인 후 한번만 호출할거예요~!
from dev-event-client.
@leedoopal 긩장히 효율적이군요!
from dev-event-client.
혹시.. JWT 토큰을 보내면 안에 있는 ID를 갖고 회원 정보 조회하는 API는 어떤가요~!?
[GET] /admin/v1/users/profile
HEADER: Authentication {JWT}
from dev-event-client.
@KoEonYack
좋아요!!! 그런데 jwt 토큰 안에 id가 지금 없는 것 같은데.. 혹시 앞으로 생기나요?
from dev-event-client.
sub가 id에용!
from dev-event-client.
API를 만들었어요~
JWT 토큰을 Header에 담으면 내용을 보고 회원정보를 응답해요~
쇼셜 가입이 생기면서 회원 타입이 생겼어요~ ADMIN, NAVER, GOOGLE, KAKAO, GITHUB가 있어요!
관리자 페이지에 로그인할수 있는 회원 타입은 ADMIN이에요! 회원 전체 조회할때 회원 타입도 응답해요~
따라서 ROLE_ADMIN 유저가 탈퇴 강제 탈퇴 API 호출할때 회원탈퇴 값도 보내야합니다~
from dev-event-client.
@KoEonYack
와 선생님 고마워요~~~ 이슈 종료할게요!
from dev-event-client.
Related Issues (20)
- [💡 개선 아이디어] 행사 추가시 종료일자 이동 HOT 1
- 로컬 빌드 오류 HOT 3
- [개발자 행사 등록 요청] - 01/02 월 HOT 1
- [개발자 행사 등록 요청] - 01/03 화 HOT 1
- [개발자 행사 등록 요청] - 01/04 수 HOT 1
- [개발자 행사 등록 요청] - 01/05 목 HOT 2
- [개발자 행사 등록 요청] - 01/06 금 HOT 2
- v1을 위한 리팩토링 HOT 1
- next.js 13 app directory 적용
- 모바일 베너 관리자 페이지 기획 검토 HOT 3
- 모바일 베너 관리자 페이지 개발 요청 HOT 18
- pnpm으로 패키지 매니저 변경
- UI/UX 고도화 HOT 1
- 모바일 배너 오류 및 입력 폼 추가 HOT 7
- 베너 관리자 페이지 기획 검토 HOT 14
- 이미지 사이즈 버그 확인 HOT 2
- 캘린더 en -> ko로 언어 변경
- `[🐞 bug]` 1월의 경우 0으로 표시됨 HOT 1
- 행사 주최 관리 페이지
- 행사 등록 > 텍스트 에디터 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev-event-client.