mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
* SSO 🔥 (#2) * Add rough implementation of google SSO * Use env variables for storing Google Oauth client id * Set organization user to active when a new user is created via sso This commit also fetches first name and last name from the payload received from google. Also adds some refactoring. * Apply proper styles to google login button * Refactor oauth controller * Move google specific logic to a separate service * Fail sign-in if google could not verify idToken * Refactoring update for GoogleOAuthService * Change env variable name for google sso client id * Show Google sign-in button only if client id env variable is given * Add SSO_GOOGLE_OAUTH2_CLIENT_ID to app.json * Whitelist apis.google.com in CSP * Add accounts.google.com to CSP * Add documentation for Google SSO * Add e2e tests for Google SSO * Resolve minor linting issues * Avoid use of raw query in migration for SSO ID This commit also adds an index for SSO ID * Verify domain of user's email id for single sign on * Add documentation for RESTRICTED_DOMAIN env variable in SSO * Move SSO controllers and services to ee folder * Move GoogleLoginButton to ee folder * Test the restricted domain verification for Google SSO * Remove unnecessary console.log * Apply better styles to Sign in with google button * Remove documentation for Google SSO This will be added to the community edition repo * Remove unnecessary static images * Fetch Google OAuth2 client id from server instead of client env (#3) * Check for existing email when signing in via SSO (#4) * hotfix oauth service return type * hotfix sso user creation * Allow disabling sign-up via SSO (#5) * hotfix file input change on import/export * Align SSO button on login box center (#6) * Fix: group permission not being set on sso (#7) * fixes group permission not being set on sso * update specs for sso * lint fix * add user id on login response * decamelize keys on login response * fix specs Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
107 lines
3.2 KiB
JSON
107 lines
3.2 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "^7.4.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/preset-env": "^7.4.3",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@react-google-maps/api": "^2.1.1",
|
|
"@sentry/react": "^6.12.0",
|
|
"@sentry/tracing": "^6.12.0",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.5.0",
|
|
"@testing-library/user-event": "^7.2.1",
|
|
"@uiw/react-codemirror": "^3.0.6",
|
|
"array-move": "^3.0.1",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-plugin-console-source": "^2.0.5",
|
|
"babel-plugin-import": "^1.13.3",
|
|
"bootstrap": "^4.6.0",
|
|
"classnames": "^2.3.1",
|
|
"dompurify": "^2.2.7",
|
|
"draft-js": "^0.11.7",
|
|
"draft-js-export-html": "^1.4.1",
|
|
"emoji-mart": "^3.0.1",
|
|
"fuse.js": "^6.4.6",
|
|
"history": "^4.9.0",
|
|
"html-webpack-plugin": "^5.3.2",
|
|
"immutability-helper": "^3.1.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.1",
|
|
"node-sass": "^4.14.1",
|
|
"papaparse": "^5.3.0",
|
|
"plotly.js-basic-dist-min": "^1.58.4",
|
|
"query-string": "^6.13.6",
|
|
"react": "^16.14.0",
|
|
"react-big-calendar": "^0.38.0",
|
|
"react-bootstrap": "^1.5.2",
|
|
"react-color": "^2.19.3",
|
|
"react-copy-to-clipboard": "^5.0.3",
|
|
"react-dates": "^21.8.0",
|
|
"react-datetime": "^3.0.4",
|
|
"react-dnd": "^14.0.2",
|
|
"react-dnd-html5-backend": "^14.0.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-dropzone": "^11.4.2",
|
|
"react-easy-sort": "^0.2.1",
|
|
"react-google-login": "^5.2.2",
|
|
"react-hot-toast": "^2.1.1",
|
|
"react-json-view": "^1.21.3",
|
|
"react-lazyload": "^3.2.0",
|
|
"react-loading-skeleton": "^2.2.0",
|
|
"react-mentions": "^4.3.0",
|
|
"react-plotly.js": "^2.5.1",
|
|
"react-qr-reader": "^2.2.1",
|
|
"react-rnd": "^10.3.0",
|
|
"react-router-dom": "^5.0.0",
|
|
"react-scripts": "3.4.3",
|
|
"react-select-search": "^3.0.5",
|
|
"react-spring": "^9.2.4",
|
|
"react-table": "^7.6.3",
|
|
"react-table-plugins": "^1.3.1",
|
|
"react-toastify": "^7.0.3",
|
|
"react-tooltip": "^4.2.18",
|
|
"rxjs": "^6.3.3",
|
|
"semver": "^5.7.1",
|
|
"tinycolor2": "^1.4.2",
|
|
"uuid": "8.3.2",
|
|
"webpack": "^5.55.1",
|
|
"webpack-cli": "^4.8.0",
|
|
"yup": "^0.27.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/react": "^5.9.0",
|
|
"@cypress/webpack-dev-server": "^1.3.1",
|
|
"@cypress/webpack-preprocessor": "^5.9.0",
|
|
"cypress": "^7.4.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-webpack": "^0.13.1",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-prettier": "^3.4.1",
|
|
"eslint-plugin-react": "^7.25.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"path": "^0.12.7",
|
|
"prettier": "^2.3.2",
|
|
"webpack-dev-server": "^3.11.2"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack serve --port 8082 --host 0.0.0.0",
|
|
"build": "webpack --mode production && cp -a ./assets/. ./build/assets/",
|
|
"lint": "eslint . '**/*.{js,jsx}'",
|
|
"format": "eslint . --fix '**/*.{js,jsx}'",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [],
|
|
"development": []
|
|
}
|
|
}
|