API Key Plugin
Hi everyone! I have a question about the API key plugin in BetterAuth. Currently, it seems like it uses the userId as part of its behavior. Is it possible to extend the plugin so that it doesn't rely on userId? If yes, how would I go about extending it? Are there any specific hooks or configuration files I should look into?
Thanks in advance for your help!
Thanks in advance for your help!
Solution
Hey there isn't any way to change this behaviour as of now unfortunately, all keys are tied to a user and only hacky solutions are the only way to change this for now.
After discussion we've decided that we will change this behaviour in the future to be more dynamic
After discussion we've decided that we will change this behaviour in the future to be more dynamic