Mehr
Mehr
BABetter Auth
Created by Mehr on 2/28/2025 in #help
How client plugins actions can be accessed?
I see this test case here (https://github.com/better-auth/better-auth/blob/7fffd8bb909fef9389bfbdd16c698c210b02a230/packages/better-auth/src/client/client.test.ts#L205) and it seems related to what I am asking, but still I can't understand how it is done.
3 replies
BABetter Auth
Created by Mehr on 2/28/2025 in #help
How client plugins actions can be accessed?
Or in other words, is my expectation that my client actions can be accessed this way valid?
await authClient.[pluginId].customAction();
await authClient.[pluginId].customAction();
3 replies