Post

Really cool! Was already sold just from the video 🚀 I’ve been working on a multi-tenant prototype with unique auth systems per tenant. Since NextAuth couldn’t handle dynamic domains, I had to build my own OAuth flow from scratch with Arctic.js. But will try to checkout OpenAuth asap.

Is defaulting allow to use `x-forwarded-host` a safe default? That would allow any application to retrieve an access token from the server, right?

this is a very good point - this is why i knew i had to slap a beta flag on it for at least a month i really wanted to have a default `allow` function implementation so people don't have to specify it but idk if a good default is possible

i guess what i can do is not use x-forwarded-host and in the sst component pass in `OPENAUTH_HOST` which is the domain we expect this to live it and it can check against that