Closed ahgood closed 1 year ago
Hello there - apologies for the delay but we don't track issues on our starter templates. Unless I'm mistaken, all the known Remix issues have been resolved. If you hit another issue please feel free to open a new issue in our main repo: https://github.com/clerkinc/javascript
Thank you!
Root loader auth always return following value, no matter login or logout.
Root loader auth: { userId: null, sessionId: null, getToken: [AsyncFunction (anonymous)] }
Reproduce steps:
npm install
npm run dev
http://localhost:3000
in browser and abserve the logs in terminal, login and logout is working, butuserId
andsessionId
alwaysnull
*I tried investigate by adding a console.log to
node_modules/@clerk/remix/dist/ssr/rootAuthLoader.js
, the variableerrorReason
return valuepk-fetch-error
.{ authData, showInterstitial, errorReason }
return:{ authData: { sessionId: null, session: null, userId: null, user: null, getToken: [AsyncFunction (anonymous)], claims: null, organization: null }, showInterstitial: undefined, errorReason: 'pk-fetch-error' }