Michał @ yournextstore.com
Michał @ yournextstore.com
BABetter Auth
Created by Michał @ yournextstore.com on 4/23/2025 in #help
Wildcard domain
That's impossible because I don't know the URL upfront. The domain could be anything and it would be infeasible to add 100000 domains to the list anyway. My trustedOrigins right now is this:
trustedOrigins: (request) => {
return [
new URL(request.url).origin,
`https://${env.NEXT_PUBLIC_VERCEL_URL}`,
];
}
trustedOrigins: (request) => {
return [
new URL(request.url).origin,
`https://${env.NEXT_PUBLIC_VERCEL_URL}`,
];
}
9 replies
BABetter Auth
Created by Michał @ yournextstore.com on 4/23/2025 in #help
Wildcard domain
One of other subdomains that I use for email/pass login
9 replies
BABetter Auth
Created by Michał @ yournextstore.com on 4/23/2025 in #help
Wildcard domain
Thank you! That could fix the problem for Google – I can manually set redirectURI. But I don't think it'll fix the invalid origin for email and password.
9 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
How do you know it exists?
22 replies