next-auth
fix: improve error message for invalid issuer URL in OAuth/OIDC flow …
#13338
Open

Commits
  • fix: improve error message for invalid issuer URL in OAuth/OIDC flow - Add try-catch block around URL constructor for issuer - Include the invalid URL value in error message - Provide helpful context about expected URL format - Makes debugging OAuth/OIDC configuration issues easier Before: 'Invalid URL' After: 'Invalid issuer URL: "invalid-url". The issuer must be a valid URL.' Fixes Issue number #13234
    Eahtasham committed 97 days ago
Loading