Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nextauthjs/next-auth
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @auth/sveltekit@0.3.14
Choose a base ref
...
head repository: nextauthjs/next-auth
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @auth/sveltekit@0.3.15
Choose a head ref
  • 14 commits
  • 39 files changed
  • 4 contributors

Commits on Nov 25, 2023

  1. docs: Fix broken links in upgrade-to-v5 (#9236)

    Update upgrade-to-v5.md
    AhmedBaset authored Nov 25, 2023
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6f93fd8 View commit details
  2. docs: lowercase the import path for consistency. (#9235)

    Update index.tsx
    AhmedBaset authored Nov 25, 2023
    1
    Copy the full SHA
    35304ee View commit details
  3. docs: getServerSession is no longer unstable_ (#9234)

    Update callbacks.md
    AhmedBaset authored Nov 25, 2023
    1
    Copy the full SHA
    693a072 View commit details

Commits on Nov 26, 2023

  1. 1
    Copy the full SHA
    83dc317 View commit details

Commits on Nov 28, 2023

  1. fix: correct the default redirect for protected pages (#9252)

    * fix: redirect to built-in sign-in page when unauthorized
    
    Change the default redirect URL for protected pages from /signin to built-in /api/auth/signin page when user is unauthorized.
    
    * fix: use NextURL for nextUrl property of request
    
    The reqWithEnvUrl function used Web API's `URL` instead of `NextURL` for
    `nextUrl` property of the request when AUTH_URL is defined, breaking the
    redirect URL creation.
    This commit uses `NextURL` for `nextUrl` property.
    
    * fix: set correct callback URL for sign-in redirect
    
    Set the callback URL properly to redirect back to originally requested
    protected page after signing in.
    Previously the callback URL was incorrectly set to the sign-in page
    itself.
    Also, remove basePath from the default sign-in URL, as the cloned
    NextURL object holds the basePath config.
    
    * Update packages/next-auth/src/lib/env.ts
    
    ---------
    
    Co-authored-by: Balázs Orbán <info@balazsorban.com>
    pinelibg and balazsorban44 authored Nov 28, 2023
    1
    Copy the full SHA
    7e9f3a8 View commit details
  2. Copy the full SHA
    50e6f9e View commit details
  3. 1
    Copy the full SHA
    43bbc60 View commit details
  4. chore: fix example

    balazsorban44 committed Nov 28, 2023
    Copy the full SHA
    d47a067 View commit details
  5. refactor: simplify code

    `Headers#getSetCookie` should always be defined
    balazsorban44 committed Nov 28, 2023
    1
    Copy the full SHA
    fde4ce8 View commit details
  6. Copy the full SHA
    0c91eb7 View commit details
  7. 1
    Copy the full SHA
    d93901c View commit details
  8. fix: add partitioned cookie option

    fixes #9254
    balazsorban44 committed Nov 28, 2023
    Copy the full SHA
    5d5220e View commit details
  9. chore: fix lockfile

    balazsorban44 committed Nov 28, 2023
    1
    Copy the full SHA
    e3ed7b9 View commit details
  10. 1
    Copy the full SHA
    aa09496 View commit details
Loading