AutumnA
Autumn4mo ago
8 replies
mariusflorescu

For the better-auth integration, I'm

For the better-auth integration, I'm using the plugin with customerScope: "organization", the issue is that when I switch the current active organization, the customer stays the same (old org).
How can I invalidate the useCustomer? I can see refetch but it doesn't seem effective.
Was this page helpful?