Commit graph

12 commits

Author SHA1 Message Date
Sherfin Shamsudeen
7a79695af7
Feature/disable password login (#1585)
* Add option to disable login/signup via username/password

* Add documentation for disabling login via username/password
2021-12-15 22:53:07 +05:30
Akshay
5312573c85
increase node heap memory (#1432) 2021-11-20 06:55:54 +05:30
Sherfin Shamsudeen
d88139d5b7
Feature/merge google sso to community edition (#1420)
* 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>
2021-11-17 16:51:50 +05:30
Akshay
d167ee2cc5
Chore: Increase node memory for heroku build (#1398)
* increase node memory size

* update description
2021-11-15 08:18:11 +05:30
navaneeth
8b778cc1aa Heroku stuffs 2021-07-30 09:21:18 +05:30
Navaneeth Pk
c8e23ef46f
Add freetds to heroku buildpack (#270) 2021-06-17 18:13:13 +05:30
Sooraj
91d1108484
Support for 1-click deployments on Heroku enterprise accounts (#231) 2021-06-11 12:37:51 +05:30
Sooraj
3b12b5907a
Heroku: Seed data using heroku postdeploy script (#186)
* post deploy script

* please work

* change script tag

* crazy scripts

* again
2021-06-06 23:29:02 +05:30
Navaneeth Pk
1babb13d7e
Change webpack config to support Heroku hosts (#182)
* Change webpack config to support Heroku hosts

* Update app.json for better instructions

* Correction
2021-06-05 15:19:32 +05:30
navaneeth
48f3051a07 Added nodejs buildpack to Heroku 1-click config 2021-06-05 13:46:54 +05:30
navaneeth
2fd9339d5d Update k8s configs for lockbox 2021-05-29 22:24:21 +05:30
Navaneeth Pk
2450905f5d
Heroku one click ( server ) (#137) 2021-04-29 19:51:22 +05:30