Using an alias as userlogin

46 views
Skip to first unread message

Andrea Colajacomo

unread,
Apr 27, 2021, 7:39:04 AM4/27/21
to CAS Community
Hello, 
is it possible to use userlogin alternatives on CAS?
For example:
let the user choose to use email or phone number (or any other custom filed) in the login form

Thanks
Bye

Ray Bon

unread,
Apr 27, 2021, 11:09:12 AM4/27/21
to cas-...@apereo.org
Andrea,


Ray

On Tue, 2021-04-27 at 04:39 -0700, Andrea Colajacomo wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Andrea Colajacomo

unread,
Apr 27, 2021, 5:12:27 PM4/27/21
to cas-...@apereo.org
Thank you Ray.
It seems documentation speak about additional custom fields. I'm searching how to use another custom fields insted of standard userlogin or let the the user choose wich field want ti use.

Thanks
Bye

--
- 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 a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/oHcEn39WFC8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/62696cec61e8b81397e7e2353d6e5279b4ce820d.camel%40uvic.ca.

Ray Bon

unread,
Apr 28, 2021, 11:03:42 AM4/28/21
to cas-...@apereo.org
Andrea,

You can create a custom authentication handler, https://apereo.github.io/cas/6.3.x/installation/Configuring-Custom-Authentication.html to process your custom log in screen (I should have included that link yesterday).

Ray

Andy Ng

unread,
Apr 29, 2021, 12:40:16 AM4/29/21
to CAS Community, Ray Bon

Hi Andrea,

Another way to achieve your requirement would be to allow user to input either phone, email and other in the same username box.
I would say this is a more naturial way to handle multiple type of input. Instead of needing user pick their input. See if my suggestion applies to your case.

Cheers!
- Andy

Andrea Colajacomo

unread,
Apr 29, 2021, 1:18:38 AM4/29/21
to cas-...@apereo.org, Ray Bon
Thank you Ray,
vert usefull informazioni



Andrea Colajacomo

unread,
Apr 30, 2021, 4:52:40 AM4/30/21
to CAS Community, Andrea Colajacomo, Ray Bon
Excuse me Ray, writing sometimes in italian and sometimes in english generates some error ;-)
The proper phrase was: very usefull informations

Reply all
Reply to author
Forward
0 new messages