Post

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

0 reposts1 like