Dynamic Callback URL

Hello there 👋 . I was wondering if there was a reasonable way to dynamically change the callback URL? As of right now, we have preview environments that are loading up, and they essentially copy over all of the env vars from the dev environment (including the BETTER_AUTH_URL). I was hoping to be able to use a callback or config option somewhere to change this behavior to use the current domain rather than a hard-coded config value. Is something like that possible? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?