kuba_huba
12/28/2023, 7:50 AMkuba_huba
12/28/2023, 7:56 AMrp_st
12/28/2023, 8:10 AMkuba_huba
12/28/2023, 12:24 PMkuba_huba
12/28/2023, 12:24 PMkuba_huba
12/28/2023, 12:28 PMnest g
is used, as the resulting file structure for me was:
SRC
├───auth
│ ├───auth
│ ├───session
│ └───supertokens
// ...
This resulted in a lot of classes being moved to /auth/auth
, meanwhile the docs imports them from the same level, for example take the middleware:
ts
import { AuthMiddleware } from './auth.middleware';
whereas after tutorial it looks like this:
ts
import { AuthMiddleware } from "./auth/auth.middleware";
kuba_huba
12/28/2023, 12:30 PMrp_st
12/28/2023, 12:31 PMkuba_huba
12/28/2023, 12:32 PMkuba_huba
12/28/2023, 2:35 PMDashboard.init()
to the recipe list on the backend (nestjs) side.
If I understand correctly, the dashboard should be available under /auth/dashboard
, so in pair with the API host it will be localhost:3000/auth/dashboard
for me. However only the html page is being loaded while scripts are not due to CSPkuba_huba
12/28/2023, 2:35 PMkuba_huba
12/28/2023, 3:13 PMrp_st
12/28/2023, 4:17 PMkuba_huba
12/28/2023, 8:15 PMrp_st
12/29/2023, 5:15 AMSuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).
Powered by