Skip to content

feat(auth): implement redirectTo search parameter for redirection#20

Merged
halvaradop merged 2 commits intomasterfrom
feat/implement-redirectTo-searchparam
Dec 6, 2025
Merged

feat(auth): implement redirectTo search parameter for redirection#20
halvaradop merged 2 commits intomasterfrom
feat/implement-redirectTo-searchparam

Conversation

@halvaradop
Copy link
Copy Markdown
Member

@halvaradop halvaradop commented Dec 6, 2025

Description

This pull request adds support for the redirectTo search parameter in both the signIn and signOut flows. This new parameter allows users to specify the URL or path to which the page will be redirected after the process completes successfully.

Two types of redirectTo values are supported:

  • pathname: A path within the same website.
  • url: A full URL that must match the application's origin.

For security reasons, any URL passed must match the hosted URL of the Aura Auth instance (the origin where the auth server is running). This ensures that redirections cannot be made to untrusted or external domains.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Dec 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
auth Ready Ready Preview Comment Dec 6, 2025 7:06pm

@halvaradop halvaradop merged commit ce63719 into master Dec 6, 2025
2 checks passed
@halvaradop halvaradop deleted the feat/implement-redirectTo-searchparam branch December 6, 2025 19:43
@halvaradop halvaradop added enhancement New feature or request feature New functionality labels Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant