Skip to content

Conversation

@bcbogdan
Copy link
Contributor

No description provided.

bcbogdan added 25 commits March 4, 2025 21:25
Update the function and add types

Add more info about the proposal

Account for pages directory in the function implementation

Update types and clean things up

Add comments

Add nextjs init function

Add the jose library

Fix refreshing and add example

Fix build and token config

Fix payload processing

Load config fron env variables

Add a redirect location during refresh

Refresh token from middleware

Move everything in the library

Rename files and update function singatures

Use the correct refresh path

Use normal responses instead of nextresponse

Use normal request instead of nextrequest

Cleanup implementation

Revoke session inside the middleware

Code review fixes

Add tests for getSSRSession

Add tests for middleware
@bcbogdan bcbogdan changed the base branch from master to 0.51 October 22, 2025 14:49
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
lib/build/index.js 27.02 KB (+1.3% 🔺)
recipe/session/index.js 27.69 KB (+1.18% 🔺)
recipe/session/prebuiltui.js 32.58 KB (+1.07% 🔺)
recipe/thirdparty/index.js 34.78 KB (+0.99% 🔺)
recipe/emailpassword/index.js 14.17 KB (+2.33% 🔺)
recipe/emailverification/index.js 10.47 KB (+3.02% 🔺)
recipe/passwordless/index.js 18.04 KB (+1.76% 🔺)
recipe/emailverification/prebuiltui.js 37.36 KB (+1.09% 🔺)
recipe/thirdparty/prebuiltui.js 56.96 KB (+0.69% 🔺)
recipe/emailpassword/prebuiltui.js 43.9 KB (+0.89% 🔺)
recipe/passwordless/prebuiltui.js 131.75 KB (+0.3% 🔺)
recipe/multitenancy/index.js 9.32 KB (+3.75% 🔺)
recipe/multifactorauth/index.js 14.08 KB (+2.27% 🔺)
recipe/multifactorauth/prebuiltui.js 36.3 KB (+1.06% 🔺)
recipe/oauth2provider/index.js 10.09 KB (+3.47% 🔺)
recipe/oauth2provider/prebuiltui.js 34.71 KB (+1.1% 🔺)
recipe/webauthn/index.js 16.95 KB (+1.94% 🔺)
recipe/webauthn/prebuiltui.js 69.37 KB (+0.66% 🔺)

@promptless
Copy link

promptless bot commented Oct 22, 2025

📝 Documentation updates detected!

New suggestion: Add Next.js SSR session utilities documentation

@bcbogdan bcbogdan closed this Oct 22, 2025
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