Skip to content

fix(next/server): custom auth may yield stale server session#38

Merged
mhamann merged 2 commits into
mainfrom
fix-custom-server-stale-auth
Jun 9, 2025
Merged

fix(next/server): custom auth may yield stale server session#38
mhamann merged 2 commits into
mainfrom
fix-custom-server-stale-auth

Conversation

@mhamann
Copy link
Copy Markdown
Contributor

@mhamann mhamann commented Jun 9, 2025

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 9, 2025

size-limit report 📦

Path Size
dist/main.js 2.3 KB (0%)
dist/next.js 20.81 KB (+106.84% 🔺)
dist/remix.js 20.74 KB (+104.3% 🔺)

Comment thread src/ssr/server/token.ts
// This likely indicates an issue with configuration,
// so better to throw than to fail somewhat silently.
if ((err as Error).name === 'JWKSNoMatchingKey') {
throw new Error((err as Error).message + '. Do you need to update the ROWND_API_URL env var?');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mhamann mhamann merged commit ce2bd27 into main Jun 9, 2025
10 of 11 checks passed
@mhamann mhamann deleted the fix-custom-server-stale-auth branch June 9, 2025 20:16
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