@@ -123,6 +123,7 @@ import { defineAuth, secret } from '@aws-amplify/backend';
123123
124124export const auth = defineAuth ({
125125 loginWith: {
126+ email: true ,
126127 externalProviders: {
127128 google: {
128129 clientId: secret (' GOOGLE_CLIENT_ID' ),
@@ -160,6 +161,7 @@ import { defineAuth, secret } from '@aws-amplify/backend';
160161
161162export const auth = defineAuth ({
162163 loginWith: {
164+ email: true ,
163165 externalProviders: {
164166 google: {
165167 clientId: secret (' GOOGLE_CLIENT_ID' ),
@@ -265,6 +267,7 @@ import { defineAuth } from '@aws-amplify/backend';
265267
266268export const auth = defineAuth ({
267269 loginWith: {
270+ email: true ,
268271 externalProviders: {
269272 loginWithAmazon: {
270273 clientId: secret (' LOGINWITHAMAZON_CLIENT_ID' ),
@@ -290,6 +293,7 @@ import { defineAuth } from '@aws-amplify/backend';
290293
291294export const auth = defineAuth ({
292295 loginWith: {
296+ email: true ,
293297 externalProviders: {
294298 loginWithAmazon: {
295299 clientId: secret (' LOGINWITHAMAZON_CLIENT_ID' ),
@@ -323,6 +327,7 @@ import { defineAuth } from '@aws-amplify/backend';
323327
324328export const auth = defineAuth ({
325329 loginWith: {
330+ email: true ,
326331 externalAuthProviders: {
327332 loginWithAmazon: {
328333 clientId: secret (' LOGINWITHAMAZON_CLIENT_ID' ),
@@ -351,6 +356,7 @@ import { defineAuth } from '@aws-amplify/backend';
351356
352357export const auth = defineAuth ({
353358 loginWith: {
359+ email: true ,
354360 externalAuthProviders: {
355361 loginWithAmazon: {
356362 clientId: secret (' LOGINWITHAMAZON_CLIENT_ID' ),
0 commit comments