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
for a an AzureAdProvider give this error on startup:
TypeError: basePath?.replace is not a function
at createActionURL (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:7565:45)
at auth (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59266:22)
at event.locals.auth (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59314:35)
at appHandle (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59605:40)
at apply_handle (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59466:14)
at resolve (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59480:35)
at handle (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59323:14)
at apply_handle (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59466:14)
at Object.handle (file:///app/build/server/chunks/hooks.server-DPNyeeNm.js:59463:12)
at respond (file:///app/build/server/chunks/index-COs9zbOI.js:3915:43)
Looking at the code the createActionURL function expects a "basePath" as last argument, but gets a "config" object frimthe auth() function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using auth.js in a svelte app with those versions:
for a an
AzureAdProvider
give this error on startup:Looking at the code the createActionURL function expects a "basePath" as last argument, but gets a "config" object frimthe auth() function.
Why...?
Beta Was this translation helpful? Give feedback.
All reactions