genericOAuth discoveryUrl TypeError: Invalid URL

# SERVER_ERROR:  [TypeError: Invalid URL] { code: 'ERR_INVALID_URL', input: 'undefined' }
 POST /api/auth/sign-in/social 500 in 1873ms


I built my own OAuth2 authorization server, but when I try to use it with Better-Auth, I get an error.
The error is too brief to identify the cause. Is there a debug mode etc?
Was this page helpful?