suvelocity / Authentication-Challenge-TEMPLATE

Cyber4s jwt challenge
0 stars 49 forks source link

refresh or access? #4

Closed AmirDebbie closed 4 years ago

AmirDebbie commented 4 years ago

GET path: /api/v1/users, description: Get users DB (admin only),

Request template: header {Authorization: "Bearer -access token-"} Server Responses: status 200, body: {USERS: [...[{email, name, password, isAdmin}]} | status 401 "Refresh Token Required" | status 403 "Invalid Refresh Token".

does this get a refresh token or access?

david35008 commented 4 years ago

you are right. fixed