2026-06-02 11:43:22 -04:00
|
|
|
import { defineAuth } from '@aws-amplify/backend';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Define and configure your auth resource
|
|
|
|
|
* @see https://docs.amplify.aws/gen2/build-a-backend/auth
|
|
|
|
|
*/
|
|
|
|
|
export const auth = defineAuth({
|
|
|
|
|
loginWith: {
|
|
|
|
|
email: true,
|
|
|
|
|
},
|
|
|
|
|
});
|