feat: Add auth flow (#146)

This adds a simple way to incorporate a centralized authentication flow.

The idea is to have the user, API and SSH (for machine authentication)
all in one place using `openauthjs` + `SST`

We also have a database now :)

> We are using InstantDB as it allows us to authenticate a use with just
the email. Plus it is super simple simple to use _of course after the
initial fumbles trying to design the db and relationships_
This commit is contained in:
Wanjohi
2025-01-04 00:02:28 +03:00
committed by GitHub
parent 33895974a7
commit fc5a755408
136 changed files with 3512 additions and 1914 deletions

View File

@@ -29,9 +29,9 @@
"@fontsource/geist-sans": "^5.1.0",
"@modular-forms/qwik": "0.26.1",
"@nestri/core": "*",
"@nestri/eslint-config": "*",
"@nestri/typescript-config": "*",
"@types/eslint": "^8.56.5",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"@types/node": "^20.11.24",
"@types/nprogress": "^0.2.3",
"@types/react": "^18.2.28",
@@ -40,10 +40,12 @@
"body-scroll-lock-upgrade": "^1.1.0",
"clsx": "^2.1.1",
"eslint": "^8.57.0",
"eslint-plugin-qwik": "latest",
"focus-trap": "^7.5.4",
"framer-motion": "^11.3.24",
"nprogress": "^0.2.0",
"postcss": "^8.4.41",
"prettier": "latest",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-wrap-balancer": "^1.1.1",