Is there a way to execute code after a successful login and successful logout? #3541
Replies: 1 comment
-
I ended up using user metadata |
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
-
In my case, I want to store our user session in a cache, but I don't know what's the best strategy to go with Clerk. I noticed there's
afterAuth
in v4'sauthMiddleware
but it's unavailable in v5clerkMiddleware
.Is there another way to handle this kind of thing?
Beta Was this translation helpful? Give feedback.
All reactions