and also ${tokenWithoutPrefix} for the token without the CAS- prefix
On Thursday, October 26, 2023 at 4:32:24 AM UTC-5 Hartmut Trüe wrote:
> Try this:
> text: "Hello! Your requested CAS token is ${token}"
>
> Regards,
> Hartmut
>
> Mm Mm schrieb am Donnerstag, 26. Oktober 2023 um 10:49:14 UTC+2:
>
>> I am trying to use simple mfa by email but when the email is received
>> the space holder %s is the same and not replaced with token
>> my configuration is
>> cas:
>> authn:
>> mfa:
>> triggers:
>> global:
>> global-provider-id: mfa-simple
>> simple:
>> order: 0
>> token:
>> core:
>> token-length: '4'
>> mail:
>> attribute-name: mail
>> text: "Hello! Your requested CAS token is ${{%s}}"
>> from: [email protected]
>> subject: CAS MFA Token
>> time-to-kill-in-seconds: '30'
>>
>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ca99e71a-1ee7-4d7e-b6df-1133648e7162n%40apereo.org.