how to make middleware in nextjs appwrite with client side auth?
For this, you'll have to setup a few things (including a middleware.ts). I cannot give you the exact code without knowing your setup & app's context. But I've found a support post with this similar issue. See if that helps: https://appwrite.io/threads/1117650321141932072
Recommended threads
- Google OAuth: User Created But Session N...
## Problem Summary When signing in with Google, the user is successfully created in the Appwrite console, but the session is not being recognized on the client ...
- OAuth2 Session Not Persisting After Goog...
I'm implementing Google OAuth2 authentication in React using Appwrite SDK. The flow is: 1. User clicks "Sign in with Google" button 2. Gets redirected to Googl...
- New OAuth provider not appearing in Cons...
Hi team! I'm contributing to Appwrite and currently working on adding Hugging Face as a new OAuth provider. Here's what I've done so far: - Implemented the ...