Groups
Groups
Sign in
Groups
Groups
CAS Community
Conversations
About
Send feedback
Help
simple mfa token
85 views
Skip to first unread message
Mm Mm
unread,
Oct 26, 2023, 4:49:14 AM
10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
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
:
m...@example.com
subject
:
CAS MFA Token
time-to-kill-in-seconds
:
'30'
Hartmut Trüe
unread,
Oct 26, 2023, 5:32:24 AM
10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community, Mm Mm
Try this:
text: "Hello! Your requested CAS token is ${token}"
Regards,
Hartmut
John
unread,
Oct 26, 2023, 8:33:48 AM
10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community, Hartmut Trüe, Mm Mm
and also ${tokenWithoutPrefix} for the token without the CAS- prefix
Mm Mm
unread,
Jan 2, 2024, 3:37:25 AM
1/2/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community, John, Hartmut Trüe, Mm Mm
thanx all I just solve it after post this question using same answer you provide and that works fine
Reply all
Reply to author
Forward
0 new messages