-
Notifications
You must be signed in to change notification settings - Fork 7
update custom verifier code snippet to show redirect #632
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
Merged
+16
−4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
nbarbettini
requested changes
Jan 6, 2026
app/en/guides/user-facing-agents/secure-auth-production/page.mdx
Outdated
Show resolved
Hide resolved
app/en/guides/user-facing-agents/secure-auth-production/page.mdx
Outdated
Show resolved
Hide resolved
Collaborator
I think you're spot on - avoiding any one specific framework approach here is good since these are generic docs. Added some small suggestions above! |
Co-authored-by: Nate Barbettini <nate@arcade.dev>
Co-authored-by: Nate Barbettini <nate@arcade.dev>
Co-authored-by: Nate Barbettini <nate@arcade.dev>
Co-authored-by: Nate Barbettini <nate@arcade.dev>
nbarbettini
approved these changes
Jan 8, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Our example verifier app uses nextjs, which has its own redirect function (which is what that uses)
I opted for generic redirects from the server here to keep the examples from getting bloated or specific to some particular framework. Open to other approaches!
Alas, I did not remember to copy the branch name from Linear, but this should resolve https://linear.app/arcadedev/issue/PLT-354/allow-customers-to-set-next-uri-in-dashboard (though in a different way)
Note
Refines the "Valid Response" examples in
app/en/guides/user-facing-agents/secure-auth-production/page.mdxto emphasize server-driven redirects after the auth flow completes.client.auth.waitForCompletion(result.auth_id)and return a303withLocationheader instead of a simple success stringfrom starlette.responses import Response, useclient.auth.wait_for_completion(result.auth_id), and return a303withLocationheaderWritten by Cursor Bugbot for commit 4f7156f. This will update automatically on new commits. Configure here.