taskcafe/internal/db/query
Jordan Knott 229a53fa0a refactor: replace refresh & access token with auth token only
changes authentication to no longer use a refresh token & access token
for accessing protected endpoints. Instead only an auth token is used.

Before the login flow was:

Login -> get refresh (stored as HttpOnly cookie) + access token (stored in memory) ->
  protected endpoint request (attach access token as Authorization header) -> access token expires in
  15 minutes, so use refresh token to obtain new one when that happens

now it looks like this:

Login -> get auth token (stored as HttpOnly cookie) -> make protected endpont
request (token sent)

the reasoning for using the refresh + access token was to reduce DB
calls, but in the end I don't think its worth the hassle.
2021-04-28 21:38:49 -05:00
..
label_color.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
notification.sql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
organization.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
project_label.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
project.sql feat: redesign project sharing & initial registration 2020-12-17 22:39:14 -06:00
system_options.sql feature: add first time install process 2020-07-16 19:40:23 -05:00
task_activity.sql feat: add task activity 2020-12-23 13:15:15 -06:00
task_assigned.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
task_checklist.sql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
task_group.sql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
task_label.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
task.sql feat(MyTasks): allow filtering by task complete status 2021-01-03 17:04:15 -06:00
team_member.sql arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00
team.sql feat: enforce user roles 2020-08-11 21:03:21 -05:00
token.sql refactor: replace refresh & access token with auth token only 2021-04-28 21:38:49 -05:00
user_accounts.sql feat: redesign project sharing & initial registration 2020-12-17 22:39:14 -06:00