Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): support session mode (#81)
* chore(deps): upgrade to latest * SPA only with cookie mode * SPA only with cookie mode (extra refresh) * SPA only with custom storage * Implement custom auto refresh handler * store all data in memory on cookie mode * SPA only with session mode always refresh on page load * Increase default msRefreshBeforeExpires to 10 sec * SSR implementation session and cookie mode * chore(deps): upgrade nuxt to v3.11 * GraphQL auth with cookie & session mode * No significant change * Only include cookies when auth mode is session * Better auto refresh timing * SPA only avoid extra refresh call * Refactor auth plugin * SSR avoid extra refresh call * Change default auth mode to session * Update package.json * Update README * Replace loggedInFlag type from boolean to number * Avoid extra refresh on multiple tabs with session mode
- Loading branch information