You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using mssql in auth.ts failed : Module build failed: UnhandledSchemeError: Reading from "node:stream" is not handled by plugins (Unhandled scheme)
#12923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
We should be able to run any server side code as we are supposed to be on server side, as mentioned in the documentation ?
(Extract from the Credentials doc page where we see a direct connection to the database in the example)
The text was updated successfully, but these errors were encountered:
Mimetis
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Apr 29, 2025
Environment
Reproduction URL
https://github.com/Mimetis/nextauthjs_google_provider
Describe the issue
Using
mssql
inside theauth.ts
file, especially in the callbacks section (jwt
,authorized
, ...) does not work.const pool = new sql.ConnectionPool(setup);
)How to reproduce
From any sample, add a callbacks section and try to open a connection to a local reachable SQL server :
Expected behavior
We should be able to run any server side code as we are supposed to be on server side, as mentioned in the documentation ?
(Extract from the Credentials doc page where we see a direct connection to the database in the example)
The text was updated successfully, but these errors were encountered: