- Updated the Google Sign-In integration to utilize the new OAuth callback mechanism. - Added a redirect flow for Google authentication, improving user experience. - Enhanced error handling and user feedback during the login process. - Removed hardcoded Google client ID in favor of environment variable usage. - Introduced a new component for handling OAuth callbacks and updated the App component to manage authentication states accordingly. - Improved API route for processing OAuth callbacks, including token exchange and user verification.
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"name": "fibdash",
|
|
"version": "1.0.0",
|
|
"description": "React MUI webapp with Google SSO and MSSQL API",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:frontend\" \"npm run dev:backend\"",
|
|
"dev:frontend": "webpack serve --mode development --config webpack.config.js",
|
|
"dev:backend": "nodemon --exitcrash src/index.js",
|
|
"build": "webpack --config webpack.prod.config.js",
|
|
"build:prod": "npm run build && npm run start:prod",
|
|
"start": "npm run build && node src/index.js",
|
|
"start:prod": "NODE_ENV=production node src/index.js",
|
|
"setup:nginx": "./scripts/setup-nginx-dev.sh",
|
|
"nginx:test": "sudo nginx -t",
|
|
"nginx:reload": "sudo systemctl reload nginx",
|
|
"nginx:start": "sudo systemctl start nginx",
|
|
"nginx:stop": "sudo systemctl stop nginx",
|
|
"nginx:status": "sudo systemctl status nginx",
|
|
"test:auth": "node test-auth.js"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.0",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@mui/icons-material": "^5.14.0",
|
|
"@mui/material": "^5.14.0",
|
|
"ag-grid-community": "^34.0.2",
|
|
"ag-grid-react": "^34.0.2",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.0.0",
|
|
"express": "^4.18.0",
|
|
"google-auth-library": "^9.0.0",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"mssql": "^9.1.0",
|
|
"nodemailer": "^7.0.5",
|
|
"openai": "^5.12.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.0",
|
|
"@babel/preset-env": "^7.22.0",
|
|
"@babel/preset-react": "^7.22.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
|
|
"babel-loader": "^9.1.0",
|
|
"concurrently": "^8.2.0",
|
|
"css-loader": "^6.8.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"nodemon": "^3.0.0",
|
|
"react-refresh": "^0.17.0",
|
|
"style-loader": "^3.3.0",
|
|
"webpack": "^5.88.0",
|
|
"webpack-cli": "^5.1.0",
|
|
"webpack-dev-server": "^4.15.0"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"mui",
|
|
"google-sso",
|
|
"mssql"
|
|
],
|
|
"author": "",
|
|
"license": "ISC"
|
|
}
|