Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(next-auth): allow users to use the application offline #115

Merged
merged 2 commits into from
Nov 21, 2023
Merged

fix(next-auth): allow users to use the application offline #115

merged 2 commits into from
Nov 21, 2023

Commits on Nov 18, 2023

  1. fix(next-auth): allow users to use the application offline

    **Why:**
    When a user is offline and runs an application, he will always be unauthorized. For my app, I temporarily changed the cache config and now suggesting the same changes.
    
    **What changed:**
    - Update the list of URLs excluded from caching by making it more specific: `/api/auth/` => `/api/auth/callback/`.
    - Google Auth is tested in _Chrome 119 arm64 for macOS_, _Safari 17.0 for macOS_ ans _Safari for iOS 17.1.1_.
    - Opening pages offline works fine, tested in the same browsers.
    - Tested logging out when the user is online and the token is not valid.
    vlad-iakovlev committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    818f01c View commit details
    Browse the repository at this point in the history
  2. chore: add changeset

    vlad-iakovlev committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    ed9c2a2 View commit details
    Browse the repository at this point in the history