Using ajax to make cas authentication call?

14 views
Skip to first unread message

Pablo Vidaurri

unread,
Jan 11, 2019, 4:10:15 PM1/11/19
to cas-...@apereo.org
Is it possible ot use ajax to make a cas authentication call? Assume Cross Site Scripting will not be an issue. 

Andy Ng

unread,
Jan 16, 2019, 9:21:22 AM1/16/19
to CAS Community
You can use REST protocol to login user with API: https://apereo.github.io/cas/5.3.x/protocol/REST-Protocol.html

I have also seen somewhere that Ajax using CAS protocol is possible, however I failed to find that code for you. Nevertheless it is a bit hacky so imo the above method is better.

Cheers!
- Andy
Reply all
Reply to author
Forward
0 new messages