Skip to content

Redirect users back to the original page after login#54

Merged
msmakouz merged 1 commit intomasterfrom
feature/redirect-to
May 5, 2026
Merged

Redirect users back to the original page after login#54
msmakouz merged 1 commit intomasterfrom
feature/redirect-to

Conversation

@msmakouz
Copy link
Copy Markdown
Contributor

@msmakouz msmakouz commented May 3, 2026

What was changed

Adds login_redirect_param requirement to the facade. When set to a non-empty string (e.g. "redirect_to"), the facade appends the current page's relative URL
(pathname + search + hash) to login_path under that query param name, so the login flow can return the user to the originally requested page after authentication.

Off by default — empty value preserves existing behavior.

@msmakouz msmakouz self-assigned this May 3, 2026
@msmakouz msmakouz merged commit fb539e3 into master May 5, 2026
36 checks passed
@msmakouz msmakouz deleted the feature/redirect-to branch May 5, 2026 18:41
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

Successfully merging this pull request may close these issues.

2 participants