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
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub β 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today β Sites and all 15 Functions now show no repository connected. When I try to add a ...