- Replace custom session-based auth with Auth0 JWT validation - Add express-oauth2-jwt-bearer for token validation - Update database schema to support Auth0 users (auth0_id, picture fields) - Add Auth0 login/callback/logout endpoints - Auto-create users on first Auth0 login - Update user routes for Auth0 integration - Add dotenv for environment configuration - Update documentation with Auth0 setup instructions
30 lines
685 B
JSON
30 lines
685 B
JSON
{
|
|
"name": "moxie-backend",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "node --watch src/index.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://f8e1300d871e905e27ce54c3455a3343104d9b04@git.client.guacamolebox.net/butterfly/moxie-backend.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"bcryptjs": "^3.0.3",
|
|
"cors": "^2.8.6",
|
|
"dotenv": "^17.3.1",
|
|
"express": "^5.2.1",
|
|
"express-oauth2-jwt-bearer": "^1.7.4",
|
|
"helmet": "^8.1.0",
|
|
"jose": "^6.2.2",
|
|
"sqlite3": "^6.0.1",
|
|
"uuid": "^13.0.0"
|
|
}
|
|
}
|