thanx all I just solve it after post this question using same answer you
provide and that works fine
في الخميس، 26 أكتوبر 2023 في تمام الساعة 1:33:48 م UTC+1، كتب John رسالة
نصها:
> 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/7ef0a27a-7e1c-4eb0-9166-c92865d4787bn%40apereo.org.