Forum Discussion

Chad Carlton's avatar
Chad Carlton
Copper Contributor
May 16, 2017

Passing Additional Attributes during Authentication?

SAML2, and OIDC both support transporting additional attributes during authentication. This is very useful to setup Just in Time (JIT) provisioning.  

 

What is the recommended way to store additional attributes in AAD, and how can I configure the AAD application authentication entry to send these additional attributes to the application during authentication?

 

Hypothetical example: my guest users fall into 3 categories; Bronze, Silver, and Gold.  Each of my 4 SaaS applications react differently for users depending on this category.  I would like to not have to setup a user 4 seperate times, specifying their category level for each application. (and when that category increases decreases, have to visit each application to change it).  

 

These 4 SaaS applications support SAML2 or OIDC, and understand how to read (even custom) attributes out of those authentications.  These applications are not Azure Gallery apps/do not understand Graph API, and are not setup to use remote user lookup capabilities like the Userinfo endpoint from OIDC.

 

I thought it would be possible to add a "category" to my guest users in my Azure Active Directory, and then configure the application entries in AAD to send/push 'category' along with the other basic profile attributes and authentication. 

 

How do I do this? 

 

Resources