Julius
January 18, 2022, 1:14pm
1
I just want to be using the Google OAuth alone.
dancia
January 18, 2022, 1:59pm
2
@Julius have you checked out this documentation - Google OAuth - Appsmith
Julius
January 18, 2022, 2:05pm
3
@dancia , Yes I have. I integrated Google 0Auth successfully. Now, I want to remove the manual sigin/signup form inputs. I want Google 0Auth to be the only way into my app.
dancia
January 19, 2022, 3:50am
4
@Julius Did you update the following in your docker.env file?
# Example docker configuration
# ******** Google OAuth ********
APPSMITH_OAUTH2_GOOGLE_CLIENT_ID=YOUR_CLIENT_ID
APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET=YOUR_CLIENT_SECRET
APPSMITH_OAUTH2_ALLOWED_DOMAINS=exampledomain.com
# ******************************
Julius
January 19, 2022, 5:49am
5
@dancia Yes, I have Google OAuth working already. It’s the old signin/signup form that I want to remove.
dancia
January 20, 2022, 8:09am
6
@Julius Sorry for not understanding your question earlier. Unfortunately, the default signin/signup form will appear on the left alongwith the Sign in with Google option on the right. But we have this in the works and it will be released soon
Julius
January 20, 2022, 8:13am
7
@dancia , I really appreciate this Update. Thank you so much.
dancia
January 31, 2022, 9:34am
8
Hi @Julius you should now be able to disable the default login form by adding APPSMITH_FORM_LOGIN_DISABLED=true
in your .env file.
appsmithorg:release
← appsmithorg:feat/config-to-disable-form-login
opened 03:10PM - 04 Jan 22 UTC
## Description
User will be able to add `APPSMITH_FORM_LOGIN_DISABLED=true` con… fig to their `.env` to disable the form login and only allow third party login.
Fixes #10152
## Type of change
- New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
- Manual
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
## Test coverage results :test_tube:
<details><summary>:green_circle: Total coverage has increased</summary>
// Code coverage diff between base branch:release and head branch: feat/config-to-disable-form-login
Status | File | % Stmts | % Branch | % Funcs | % Lines
-----|-----|---------|----------|---------|------
:green_circle: | total | 55.14 **(0)** | 36.66 **(0.01)** | 34.57 **(0)** | 55.67 **(0)**
:green_circle: | app/client/src/configs/index.ts | 95.12 **(0)** | 86.41 **(0.27)** | 100 **(0)** | 97.3 **(0)**</details>
Julius
February 3, 2022, 7:41am
9
This is good news @dancia . Thank you for the update. And thank everyone in your team for making this happen. I’m grateful
1 Like