Open kodermax opened 2 months ago
https://github.com/honojs/middleware/blob/58c8e237a99d049207c370750253032a4e9bf5ee/packages/auth-js/src/index.ts#L37C1-L38C1
Please remove this line that triggers the warning message.
config.basePath ||= '/api/auth'
[auth][warn][env-url-basepath-redundant] Read more: https://warnings.authjs.dev#env-url-basepath-redundant
I submitted a PR #818 to fix this! Let me know if it resolves the issue on your end.
https://github.com/honojs/middleware/blob/58c8e237a99d049207c370750253032a4e9bf5ee/packages/auth-js/src/index.ts#L37C1-L38C1
Please remove this line that triggers the warning message.