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.
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)
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.