Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persist callback URL across various navigations. #375

Open
Abu-bkr opened this issue Nov 17, 2024 · 1 comment
Open

persist callback URL across various navigations. #375

Abu-bkr opened this issue Nov 17, 2024 · 1 comment
Assignees

Comments

@Abu-bkr
Copy link

Abu-bkr commented Nov 17, 2024

Description

When navigating to the sign-in or sign-up page in the app, the URL does not persistently retain the callback parameter. As a result, after successful authentication, users are not redirected to the specified callback destination or the desktop app. This behavior limits the user flow and fails to direct users back to their intended page after authentication, which is essential for maintaining a smooth and consistent experience.

Steps to Reproduce

Navigate to the sign-in or sign-up page with a callback parameter in the URL (e.g., https://trypear.ai/signin?callback=app://dashboard).
Complete the authentication process (log in or sign up).
Observe the redirection behavior post-authentication.

Expected Behavior

After successful authentication, users should be redirected to the specified callback URL, ensuring they return to the intended page or app flow without needing to navigate manually.

Actual Behavior

After authentication, the callback URL parameter is lost, and users are redirected to the default page instead of the specified callback destination. This breaks the intended user flow and requires users to manually navigate back to their desired page.

Additional Information

This issue affects user navigation and breaks the user experience in workflows where a custom callback is required for redirection post-login or sign-up. Proper handling of the callback parameter allows users to seamlessly return to the desktop app or specific URLs after signing in.

@Abu-bkr
Copy link
Author

Abu-bkr commented Nov 18, 2024

hello , I am tackling this issue, ok can you assign it to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant