Replies: 1 comment
-
You could probably create a middleware that checks the authenticated state and conditionally return another frame. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say base route is being called, but the farcaster user has already 'authenticated' with my frame, and I want to redirect them to their dashboard. It would be nice if I can just forward that request to treat it as a different route.
I know I could conditionally call a different route handler function, but this seems to get a bit messy especially with getting the types right.
Anyone else found a good way to deal with this?
Beta Was this translation helpful? Give feedback.
All reactions