You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cas::getCurrentUser(); works great for me getting the username of the person logged in. Is it capable to retrieve other attributes back such as first name, last name?
Sorry I'm new to both using CAS and Laravel. Any help would definitely be appreciated! Thanks for the fantastic package.
The text was updated successfully, but these errors were encountered:
Hi there. Thanks for your message.
The way I use CAS is only to retrieve the username, then I perform an LDAP search (with my LDAP package) collecting all the stuff I need from the username.
There's another way to handle things. This CAS package is only a wrapper for phpCAS library, meaning you can use all the phpCAS methods as long as you use \phpCAS in your code. But what you are looking for is an implementation like in this example, using SAML : https://github.com/Jasig/phpCAS/blob/master/docs/examples/example_advanced_saml11.php
It is not yet possible in this package as I haven't yet implemented the possibility to use the SAML_VERSION_1_1 in the client method to initialize the session. Only CAS_VERSION_2_0 and proxy are available at the moment.
Cas::getCurrentUser(); works great for me getting the username of the person logged in. Is it capable to retrieve other attributes back such as first name, last name?
Sorry I'm new to both using CAS and Laravel. Any help would definitely be appreciated! Thanks for the fantastic package.
The text was updated successfully, but these errors were encountered: