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.

   - Then, use multiple authentication handler to handle different type of 
   user input.
   - Since we can configured CAS to allow login when any of the 
   authentication handler success, like so: 
      - 
      
https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#authentication-policy
   - User should be able to input any of the above, and able to 
   successfully login to CAS

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


On Wednesday, 28 April 2021 at 23:03:42 UTC+8 Ray Bon wrote:

> 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
>
> On Tue, 2021-04-27 at 23:12 +0200, Andrea Colajacomo wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
> 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
>
> Il mar 27 apr 2021, 17:09 Ray Bon <[email protected]> ha scritto:
>
> Andrea,
>
> There are ways to customize the login page. See 
> https://apereo.github.io/cas/6.3.x/ux/User-Interface-Customization-Views.html#custom-fields
>
> 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. 
>
> 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
>
> -- 
> - 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 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/62696cec61e8b81397e7e2353d6e5279b4ce820d.camel%40uvic.ca
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/62696cec61e8b81397e7e2353d6e5279b4ce820d.camel%40uvic.ca?utm_medium=email&utm_source=footer>
> .
>
>

-- 
- 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/ef946434-6df1-4f32-b5fb-24a6eef2fd68n%40apereo.org.

Reply via email to