Gotrue-js offline development

Hello :wave:

I’m looking at the documentation for gotrue-js. This looks great and all but I was wondering if there is a way to setup custom db and email server? Looking at it seems like you can setup custom db and smtp server which is great for local development. But for the JS port this doesn’t seem possible with the constructor as you need to give it a netlify identity url?

Is this something that will be supported in the future or is there a workaround to get this to work?

Hmm, not sure, though wouldn’t be surprised to hear it, since while we use gotrue in production, we haven’t put a ton of effort into running your own copy, so you may need to PR that functionality in. I’d file an issue here and see if anyone has advice: