3

I have done a small piece of code which sends login and logout request and processes the corresponding responses using OpenSAML. If I'm not wrong I am supposed to be able to retrieve user attributes through SAML but I don't know how to ask for these attributes. I don't know if it is an added piece of XML in my requests or some kind of tweak in my IdP. Perhaps I'm wrong and asking for attributes is a separate SAML request.

Thanks in advance.

Rafa
  • 85
  • 1
  • 10

2 Answers2

4

Attributes can be included in the IdP's initial SAMLResponse OR there can be a separate AttributeQuery service call if the IdP supports it.

JST
  • 1,154
  • 6
  • 15
1

Yes it is separate request. You need to create AttributeQuery.

See AttributeQuery

Community
  • 1
  • 1
Stugal
  • 850
  • 1
  • 8
  • 24