Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | import {defineAuth, secret} 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, externalProviders: { oidc: [ { name: "MicrosoftEntraID", clientId: secret("MICROSOFT_ENTRA_ID_CLIENT_ID"), clientSecret: secret("MICROSOFT_ENTRA_ID_CLIENT_SECRET"), issuerUrl: "https://login.microsoftonline.com/7fd93033-e7a0-483b-87b7-0796e1b212a8/v2.0", scopes: ["openid", "email", "profile"], }, ], callbackUrls: [ "https://conversateapp.com", "https://www.conversateapp.com", "http://localhost:5173", ], logoutUrls: [ "https://conversateapp.com", "https://www.conversateapp.com", "http://localhost:5173", ], }, }, }); |