Auth0 Pre configured oauth provider doesnt support providerId

https://www.better-auth.com/docs/plugins/generic-oauth#example-using-pre-configured-providers

Specifically looking at genericOAuth plugin using the provider auth0.

Im not sure why but the auth0 provider doesnt allow for providerId to be anything but auth0 yet you could have multiple domains you wish to use that all use auth0 under the hood. Is there any history as to why multiple auth0 providers may not be possible or reasonable?
https://github.com/better-auth/better-auth/blob/canary/packages/better-auth/src/plugins/generic-oauth/providers/auth0.ts#L81

Thanks 🙂
Authenticate users with any OAuth provider
GitHub
The most comprehensive authentication framework for TypeScript - better-auth/better-auth
Was this page helpful?