Hey there! Im trying to add the user dashboard rec...
# support-questions-legacy
j
Hey there! Im trying to add the user dashboard recipe but for some reason I always get a blank screen when navigating to
/auth/dashboard
. Any idea why this might be happening? I dont have any header policy
r
hey @Jrapp
do u see any errors on browser console?
j
I dont oddly. Nothing in network, nothing in console. I should also note ive only tested locally, not sure if that matters vs production
Copy code
"supertokens-auth-react": "0.27.4",
"supertokens-node": "12.1.2",
r
whats the url that you are visiting? And whats the apiDomain and apiBasePath?
@nkshah2 can help here as well.
n
Hi @Jrapp, Like rp said, whats the api domain and api base path? Also what URL are you using to open the dashboard?
j
Im teesting on my local, so
localhost:3000/auth/dashboard
, but about to test in prod
n
is
localhost:3000
your frontend or your api layer?
The dashboard is exposed by the backend and not the frontend SDKs. So for example if the apiDomain you pass to SuperTokens is
localhost:3001
and apiBasePath is
/auth
you would visit http://localhost:3001/auth/dashboard
j
Ahh okay let me check
Awesome that did it, thanks a lot!
n
Happy to help!
3 Views