Hi guys.
I'm trying to get more attributes from CAS after authentication but with no
luck so far.

I have followed this post

http://stackoverflow.com/questions/4882298/getting-more-attributes-from-cas-than-just-user-id

and adapted my files this way:

https://gist.github.com/2727416

but what I have is always:

Request contains ticket "ST-1-dc5ge5EDQcJprMgg3dfW-cas".
Guessed service url: "http://localhost:3000/my_portfolio";
Requesting CAS response for URI
http://localhost:8080/cas/proxyValidate?service=http%3A%2F%2Flocalhost%3A3000%2Fmy_portfolio&ticket=ST-1-dc5ge5EDQcJprMgg3dfW-cas
CAS server responded with #<Net::HTTPOK 200 OK readbody=true>:
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:authenticationSuccess>
    <cas:user>[email protected]</cas:user>


</cas:authenticationSuccess>
</cas:serviceResponse>
Ticket "ST-1-dc5ge5EDQcJprMgg3dfW-cas" for service "
http://localhost:3000/my_portfolio"; belonging to user "[email protected]"
is VALID.
Extra user attributes provided along with ticket
"ST-1-dc5ge5EDQcJprMgg3dfW-cas": {"name"=>"Aldo"}.


Any help could be appreciate it.

-- Aldo Nievas
SATIO Web Development
[email protected]
M: 54 11 3487 4900

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to