Skip to content

Conversation

@sdserranog
Copy link
Contributor

@sdserranog sdserranog commented Dec 22, 2025

If we redirect users directly to the Dashboard, the “Verify this action” issue would go away. In that case, the token would be generated using the login_challenge initiated by the Dashboard itself, instead of first creating a session and cookie in Ory (the Identity project) and then redirecting to the Dashboard, which requires a token and ends up redirecting back to the Identity project again.

Closes PLT-382


Note

Centralize Dashboard URLs and update references

  • Add getDashboardUrl and DashboardLink with env-configurable base (NEXT_PUBLIC_DASHBOARD_URL) in app/_components/dashboard-link.tsx
  • Update SignupLink to use getDashboardUrl("register"); update navbar "Dashboard" to getDashboardUrl("playground/chat")
  • Register DashboardLink in mdx-components.ts for MDX usage
  • Replace hardcoded "Arcade account" signup links with <DashboardLink path="register" /> across docs pages

Written by Cursor Bugbot for commit 660830f. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Dec 22, 2025

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 22, 2025 6:27pm

<Link
className={cn("text-primary", className)}
href={"https://api.arcade.dev/signup"}
href={"https://api.arcade.dev/dashboard/register"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, and not something to do now, but we probably should have ENV vars for these things (so we can set staging/prod, change these URLs as we like, etc)

@sdserranog sdserranog merged commit 46e5949 into main Dec 22, 2025
6 checks passed
@sdserranog sdserranog deleted the verify branch December 22, 2025 18:47
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.

3 participants