How to use all attributes sent by simplesamlphp

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
alliance8791
User
Posts: 49

How to use all attributes sent by simplesamlphp

Post by alliance8791 »

Hi, I have configured authentication with my SAML and it works perfectly. In particular I authenticate my application with my simplesamlphp.
From what I see, the script only returns the $usr field, while simplesamlphp returns many other attributes. Is it possible that these attributes could be passed to my script in phpmaker ? This is an example of what simplesamlphp passes:

Attribute ----> Value

name ----> xxxxxxx
email ----> xxxxxxxxxx@xxxxxxxxxxxxx.it (this is my $usr field)
fiscalNumer ----> xxxxxxxxxxxxxxxx
lastname ----> xxxxxxx
preferredLanguage ----> it

Does exist a way for changing the graphic of the "Login with SAML" button ?

Thanks in advance for the help.


arbei
User
Posts: 9286

Post by arbei »

You may check the user profile. You may view what are available first by, e.g. var_dump(UserProfile()->Profile).


Post Reply