From 8d4766f5fab9d7f0272dec129d649960fd548178 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Wed, 13 Mar 2024 08:36:42 -0500 Subject: [PATCH] Merge pull request #17234 from overleaf/jel-clear-saml-data [web] Clear linking data for all linked users in group GitOrigin-RevId: 1b7b3642a37a33c8b1499aee9c98300551bccea0 --- .../app/src/Features/Email/EmailBuilder.js | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/services/web/app/src/Features/Email/EmailBuilder.js b/services/web/app/src/Features/Email/EmailBuilder.js index f558f587ec..cdaf502ec8 100644 --- a/services/web/app/src/Features/Email/EmailBuilder.js +++ b/services/web/app/src/Features/Email/EmailBuilder.js @@ -516,6 +516,37 @@ templates.groupSSOLinkingInvite = ctaTemplate({ }, }) +templates.groupSSOReauthenticate = ctaTemplate({ + subject(opts) { + return 'Action required: Reauthenticate your Overleaf account' + }, + title(opts) { + return 'Action required: Reauthenticate SSO' + }, + message(opts) { + return [ + `Hi, +
+ Single sign-on for your Overleaf group has been updated. + This means you need to reauthenticate your Overleaf account with your group’s SSO provider. +
+ `, + ] + }, + secondaryMessage(opts) { + return [``] + }, + ctaURL(opts) { + return opts.authenticateWithSSO + }, + ctaText(opts) { + return 'Reauthenticate now' + }, + greeting() { + return '' + }, +}) + templates.groupSSODisabled = ctaTemplate({ subject(opts) { return `Action required: Set your Overleaf password`