Hi guys, I just started implementing SuperTokens f...
# general
n
Hi guys, I just started implementing SuperTokens for my NextJS project using app router. I followed the NextJS App Router docs (https://supertokens.com/docs/emailpassword/nextjs/app-directory/about) , but noticed there was one thing missing. Actually enabling the admin dashboard. So I just followed the general docs and added the
Dashboard.init()
to my
backendConfig
. But when I now visit
http://localhost:3000/api/auth/dashboard
, I can't see the dashboard and just get a 404. Has anyone successfully set this up before?
r
n
I have enabled them, but nothing gets logged. Just realized the
backendConfig
isn't actually used anywhere in my code atm haha
r
haha.. well then.. thats the issue
n
Okay bruh totally my mistake. I wanted to do my own custom UI. So I only did step 1 in the NextJS docs. (Because step2 was already about using the prebuilt UI) I though I could just access my dashboard after finishing the configuration step. I now skipped step 2 and just did step 3. Now I can access it 👍
4 Views