I was trying :
for
cas.sms-provider.rest.headers.Content-Type=application/json

sample:

cas.authn.mfa.simple.sms.text={ "username": "xxx","password": "xxxx": 
"${cas.authn.mfa.simple.sms.attribute-name}","text": "${token}" , "sender" 
: "2waySMS" }

cas.authn.mfa.simple.sms.text={ "username": "xxx","password": 
"xxxxx","phone": "${@groovyFile:/etc/cas/config/SPAR.groovy}","text": 
"${token}" , "sender" : "2waySMS" }

cas.authn.mfa.simple.sms.text={ "username": "xxxx","password": 
"xxxx","phone": "${groovy { def phone = attributes['phone']; return phone ? 
phone[0] : ''; }}","text": "${token}" , "sender" : "2waySMS" }





-- 
- 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/dda4cc8b-ce6e-424a-bde6-1e104571fec6n%40apereo.org.

Reply via email to