Login does not automatically redirect user after successful authentication
After successfully logging in, the application does not automatically redirect the user to the expected page/dashboard.
Steps to Reproduce Open the application. Navigate to the login page. Enter valid credentials. Click the Login button. Expected Behavior
After successful authentication, the user should be automatically redirected to the dashboard/home page (or the page they were trying to access).
Actual Behavior
Login appears to succeed, but the user remains on the login page and must manually refresh or navigate to another page.
Environment Platform: Web Browser: [Your Browser Name] Version: [Version if applicable] Additional Notes
The authentication process seems to complete successfully, but the redirect/navigation step is not being triggered after login. This may be related to routing, session state updates, or callback handling after authentication.
Possible Areas to Investigate
Post-login redirect logic Authentication callback handler Router/navigation state updates Session/token synchronization after login
Feel free to modify the expected redirect destination based on how OpenHuman is intended to behave.
I'd like to contribute to fixing this bug.
I'd like to contribute to fixing this bug.
SURE
still not working @Sushanth012 take a look at it
Hey @Pixel20coder, could you please share which machine/environment you encountered this bug on, along with the app version?
i have same problem
Doesn't look like this was pushed to public releases wasn't compiled so you have to use it with the source code only?
Hi @Sushanth012 — closing this issue as it's not reproducible against the current codebase.
After tracing the login flow, CoreStateProvider already listens for the core-state:session-token-updated event and calls refresh() → commitState() to update React context, and handleAuthDeepLink already navigates to /home once the session is committed. The described gap (session written to a non-React store, React context not updated, no redirect) does not exist.
If you're able to reproduce the redirect failure with a specific set of steps, please open a new issue with those details and we'll take another look. Thanks for reporting!