5 Aug, 2026, 09:55
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 side. The application keeps redirecting with "No active session found" error.
π΄ Issue Details
What's Happening
- User clicks "Sign in with Google" button
- OAuth flow completes
- User appears in Appwrite console β
- But client-side shows:
No active session found - App continuously redirects (401 error)
Console Errors
TypeScript
react-dom_client.js?v=b7c8055c:14334 Download the React DevTools for a better development experience: https://react.dev/link/react-devtools
sgp.cloud.appwrite.io/v1/account:1 Failed to load resource: the server responded with a status of 401 ()
Profile.jsx:16 No active session found. Redirecting...
sgp.cloud.appwrite.io/v1/account:1 Failed to load resource: the server responded with a status of 401 ()
Profile.jsx:16 No active session found. Redirecting...
π Current Code Flow
TypeScript
// Profile.jsx
const checkSession = async () => {
try {
const session = await client.account.get();
// User data
} catch (error) {
console.log("No active session found. Redirecting...");
// Redirect to login
}
};
π Request
Looking for guidance on:
- Proper OAuth session handling in React
- How to verify session after Google sign-in
- Next steps to debug this issue
TL;DR
User is successfully created in Appwrite console, but the session is not recognized on the client side, causing continuous redirection with a "No active session found" error. The solution involves proper OAuth session handling in React, verifying the session after Google sign-in, and debugging to identify the issue causing the session recognition problem.Recommended threads
- Appwrite github organization error
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...