fix(auth): upgrade cookie flows to upgrade access tokens, refresh tokens #92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the upgrade to using solely HttpOnly cookies for auth has left elements kaputt. Primarily, the refresh flow no longer works as expected, which needs to be fixed in the middleware.
In short:
This issue tracks the work to upgrade this.
I tried managing all of this from within the middleware, but it was getting very messy.
My alternative approach is as follows:
/auth/refresh?redirect_uri=....to refresh the access tokenThis isolates the refresh process and allows optimization (see also researchequals/frontend#12) to be done there.
Tasks: