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
ekalyvio opened this issue
Sep 1, 2024
· 0 comments
Labels
adaptersChanges related to the core code concerning database adaptersbugSomething isn't workingtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
And error on the command line:
⨯ node_modules.pnpm@[email protected]\node_modules@azure\core-xml\dist\browser\xml.js (5:0) @
⨯ document is not defined
How to reproduce
Ensure to populate the .env.local file with the necessary values.
AUTH_SECRET="something" # Added by `npx auth`. Read more: https://cli.authjs.dev
AUTH_GITHUB_ID=something
AUTH_GITHUB_SECRET=something
AZURE_STORAGE_ACCOUNT_NAME=something
AZURE_STORAGE_ACCOUNT_KEY=something
AZURE_STORAGE_TABLES_ENDPOINT=something
# THIRD_PARTY_API_EXAMPLE_BACKEND= # Read more at https://authjs.dev/guides/integrating-third-party-backends
# AUTH_TRUST_HOST=1 # Read more at https://authjs.dev/getting-started/deployment#auth_trust_host
Then run pnpm dev.
Opening the page at: http://localhost:3000/ you will see the errors popping up.
Removing the section with the TableStorageAdapter (including the imports) from the auth.ts file, the error goes away but you don't have in that case access to Table storage.
Expected behavior
It shouldn't give these errors and it should continue running.
The text was updated successfully, but these errors were encountered:
ekalyvio
added
adapters
Changes related to the core code concerning database adapters
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Sep 1, 2024
adaptersChanges related to the core code concerning database adaptersbugSomething isn't workingtriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Adapter type
@auth/azure-tables-adapter
Environment
Reproduction URL
https://github.com/ekalyvio/next-auth-azure-adapter-issue
Describe the issue
Having issues like the following:
And error on the command line:
⨯ node_modules.pnpm@[email protected]\node_modules@azure\core-xml\dist\browser\xml.js (5:0) @
⨯ document is not defined
How to reproduce
Ensure to populate the
.env.local
file with the necessary values.Then run
pnpm dev
.Opening the page at:
http://localhost:3000/
you will see the errors popping up.Removing the section with the TableStorageAdapter (including the imports) from the auth.ts file, the error goes away but you don't have in that case access to Table storage.
Expected behavior
It shouldn't give these errors and it should continue running.
The text was updated successfully, but these errors were encountered: