Skip to content

Update the Next.js B2B quickstart to @thunderid/nextjs 1.19.0 - #28

Merged
AnuradhaSK merged 1 commit into
thunder-id:mainfrom
AnuradhaSK:bump-nextjs-b2b-sdk
Nov 13, 2026
Merged

AnuradhaSK merged 1 commit into
thunder-id:mainfrom
AnuradhaSK:bump-nextjs-b2b-sdk

Conversation

@AnuradhaSK

Copy link
Copy Markdown
Contributor

Purpose

Signing out of the Next.js B2B quickstart did not end the ThunderID session. @thunderid/nextjs 1.18.1 cleared only the app's session cookie, and the quickstart's sign-in flow reuses the ThunderID session, so the next sign-in went through without a password.

thunder-id/javascript-sdks#177 makes signOut return ThunderID's end-session URL, and the Next.js provider now sends the browser there. The fix shipped in @thunderid/nextjs 1.18.3. This PR moves the quickstart to 1.19.0, the latest release.

Approach

  • quickstarts/nextjs-b2b/package.json and package-lock.json: @thunderid/nextjs 1.18.1 to 1.19.0. The lock file also picks up the matching @thunderid/javascript, node, react and browser releases.
  • No app code changes. SignOutButton in app/components/Header.tsx calls the provider's signOut, which now performs the redirect.

Related Issues

  • N/A

Related PRs

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
    • Against a local ThunderID with the quickstart's import: signed in, signed out, signed in again. Sign-out went through ThunderID's sign-out page back to http://localhost:3000, the ThunderID session cookies were gone, and the second sign-in asked for the password.
  • Documentation provided. (Add links if there are any)
    • quickstarts/nextjs-b2b/README.md
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards.
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

🤖 Generated with Claude Code

Signed-off-by: AnuradhaSK <anuradha199528@gmail.com>
@AnuradhaSK
AnuradhaSK merged commit df26d7b into thunder-id:main Nov 13, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants