Services for current user only (JWT ticket is for)
We need URIs in our application restricted to current logged in user:
Example:
- JIRA REST API: GET /myself
- GitHub REST API: GET /user
- Stack Exchange REST API: GET /me
- Confluence REST API: GET /user/current
Example:
- /order/myself
- Change password scenario
We don’t want to pass userId in request (/order/{userId}).
How can we achieve this?
Your input/help is appreciated.
Thanks,