OIDC Plugin + Preview Environments
I have better-auth running as an OIDC provider/SSO style system for my internal apps. I need to be able to support preview environments for my team's workflow and I was hoping it would be as simple as using a wildcard redirect under our custom domain (*.myteam.app) for this but it appears it doesn't work out of the box. Our main better-auth auth provider app is NextJS and we're using the OIDC plugin to issue client id and secrets. What's my best path forwrd here? Ideally I'd like to avoid having API routes and admin API keys running in GitHub actions to assign the redirect uri's but will have to go that way if necessary.