Allow multiple domains in the SIWE plugin
Author: mrwillisCreated Sep 16, 2026Updated Sep 16, 2026
Is this suited for github?
- Yes, this is suited for github
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Currently the domain in the SIWE plugin is hard-coded, which restricts the use of it to one domain at a time (it does work with multiple domains, but it gives an ugly metamask warning). Would like to pass a function to domain when initializing siwe() that can take the context of the request to decide on the domain to use
Describe alternatives you've considered
No response
Additional context
No response
Source: better-auth/better-auth