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

concord-console2: add support for redirectTo to the login page #1046

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

ibodrov
Copy link
Collaborator

@ibodrov ibodrov commented Dec 4, 2024

This way adding from=/destination will redirect users to http://localhost:8001/#/destination (note the use of the hash route) while redirectTo=/destination will send users to http://localhost:8001/destination. Useful for 3rd-party integrations and non-console2 endpoints.

Also fixes the 'from' behavior -- from didn't work for me at all (at least in dev mode).

@ibodrov ibodrov requested a review from a team December 4, 2024 02:24
@ibodrov ibodrov merged commit b44f1cf into master Dec 4, 2024
4 checks passed
@ibodrov ibodrov deleted the ib/redirect-to branch December 4, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants