Well, looks worse than I originally thought.  I'm unable to (broken? or am 
I doing something wrong) get ANY SMS provider to be called when configured.


On Friday, February 28, 2020 at 4:44:18 PM UTC-8, Stewart wrote:
>
> Hi All,
>
> Using CAS 6.1.4, I've been attempting to get the "simple multifactor 
> authentication" to send SMS via a RESTful interface.  I'm able to get it to 
> send via email, and I'm able to curl the provider with a hand-crafted 
> version of the JSON that CAS should be sending - both work, but it appears 
> that that the REST call is never sent from CAS for sending SMS.  The log 
> files are not helpful (they simple say that CAS failed to send via SMS or 
> Mail).  My configuration is:
>
> cas.authn.mfa.simple=mfa-simple
> cas.authn.mfa.simple.order=2
> cas.authn.mfa.simple.timeToKillInSeconds=60
> cas.authn.mfa.simple.tokenLength=6
> cas.authn.mfa.simple.sms.from=1XXXXXXXXXX
> cas.authn.mfa.simple.sms.text=Your one-time authorization token is: %s
> cas.authn.mfa.simple.sms.attributeName=mobile
> cas.smsProvider.rest.method=POST
> cas.smsProvider.rest.basicAuthUsername=XXXXXXXXX
> cas.smsProvider.rest.basicAuthPassword=XXXXXXXXXXXXXXXXXXXX
> cas.smsProvider.rest.url=https://myprovider.com/endpoint
> The log files show the attribute 'mobile' has the proper value in it.
>
> Has anyone managed to get this working?  What am I doing incorrectly?
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c62e4eea-76e0-49c8-af42-536c42cc418d%40apereo.org.

Reply via email to