guardian / gateway

🕵️🆔👤The platform for authentication at (profile.)theguardian.com
https://profile.theguardian.com
12 stars 1 forks source link

Passwordless | Add `EmailChallengePasscode` email and rendered route #2835

Closed coldlink closed 3 months ago

coldlink commented 3 months ago

What does this change?

Authentication (sign in) or account recovery (password reset) with an OTP sends an email through Okta to do this. This is different from the email that is sent when creating an account.

This is the EmailChallenge email under the brand customisations in Okta email templates. The same email is sent to users attempting to authenticate or reset their password, so this email has to be relatively generic for both use cases.

This PR adds the email template in to Gateway. A separate PR, https://github.com/guardian/identity-platform/pull/751, pulls the template from Gateway to Okta through Terraform. This PR should be merged in before that one.

localhost_6006_iframe html_args= globals=viewport_mobile id=email-templates-emailchallengepasscode--passcode viewMode=story(Pixel 7)

github-actions[bot] commented 3 months ago

Deploy build 9753 of identity:identity-gateway to CODE

All deployment options - [Deploy build 9753 of `identity:identity-gateway` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=identity%3Aidentity-gateway&build=9753&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 9753 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=identity%3Aidentity-gateway&build=9753&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=identity%3Aidentity-gateway&stage=CODE)

From guardian/actions-riff-raff.