taskcafe/internal/graph/schema
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
..
_models.gql refactor: replace refresh & access token with auth token only 2021-04-28 21:38:49 -05:00
_root.gql refactor: replace refresh & access token with auth token only 2021-04-28 21:38:49 -05:00
notification.gql feat: add notification UI 2020-09-10 15:31:04 -05:00
project_label.gql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
project_member.gql feat: redesign project sharing & initial registration 2020-12-17 22:39:14 -06:00
project.gql feat: add personal projects 2020-09-19 20:23:16 -05:00
task_checklist.gql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
task_comment.gql feat: add task activity 2020-12-23 13:15:15 -06:00
task_group.gql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
task_label.gql fix: member permissions now works correctly 2020-09-19 17:26:02 -05:00
task.gql feat: add my tasks list view 2021-01-01 22:20:55 -06:00
team_member.gql feat: enforce user roles 2020-08-11 21:03:21 -05:00
team.gql feat: enforce user roles 2020-08-11 21:03:21 -05:00
user.gql refactor: replace refresh & access token with auth token only 2021-04-28 21:38:49 -05:00