Skip to content

The useFrappeAuth() hook's currentUser remains undefined even after successful login #85

@ahmad-91

Description

@ahmad-91

Core Problem
The useFrappeAuth() hook's currentUser remains undefined even after successful login, causing the SDK to fail in maintaining authentication state.
Specific Issues
Session State Not Updating
frappeLogin() succeeds but currentUser never gets set
SDK state doesn't reflect successful authentication
Session restoration doesn't work on page refresh
Cookie Management
No session cookies are being set after login

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions