dotnet-cas-client icon indicating copy to clipboard operation
dotnet-cas-client copied to clipboard

Support reading extra_attributes

Open zakshay opened this issue 10 years ago • 4 comments

A CAS server may pass extra_attributes (like full name) for the user being logged in. Looks like currently there is no way for this client to read that.

Is that correct?

zakshay avatar Aug 08 '14 08:08 zakshay

@serac @scottt732 Any thoughts on this?

zakshay avatar Aug 08 '14 08:08 zakshay

For example other CAS libraries, like the standard Ruby one would do this.

zakshay avatar Aug 08 '14 08:08 zakshay

More specifically the cas:attributes.

If the library doesn't parse it, is there a handle to the POST body XML somewhere so that the client app can parse it themselves.

zakshay avatar Aug 08 '14 12:08 zakshay

The recommended way to consume attributes is via the SAML 1.1 protocol, which this client (and many others) supports. See http://jasig.github.io/cas/4.2.x/protocol/SAML-Protocol.html.

serac avatar May 04 '16 17:05 serac