llun / activities.next

A Next.JS ActivityPub server.
https://llun.social
MIT License
59 stars 4 forks source link

Fix credential authentication #56

Closed llun closed 8 months ago

llun commented 8 months ago

This PR fixes the credential authentications that fails after moving sign in page to AppRouter.

The issue is CSRF that generate in the server side is invalid because it doesn't have a request information pass through it. Changing it to client side fixes the issue.

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mastodon-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2024 11:27am