Closed mpmeyer closed 8 years ago
Since some CAS servers provide extra attributes in an unsupported manner, save the CAS result for client processing.
Unsupported extra attribute user_id is provided:
user_id
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas"> <cas:authenticationSuccess> <cas:user>myusername</cas:user> <user_id>123</user_id> </cas:authenticationSuccess> </cas:serviceResponse>
Save the CAS result into request.session.raw_cas:
request.session.raw_cas
{ user: 'myusername', user_id: '123' }
Create new pr to develop, closed https://github.com/jsumners/hapi-cas/pull/3
Thank you for the work. I'll publish a new release this evening.
Thanks again @mpmeyer. Release 0.4.0 has been published.
Since some CAS servers provide extra attributes in an unsupported manner, save the CAS result for client processing.
Unsupported extra attribute
user_id
is provided:Save the CAS result into
request.session.raw_cas
:Create new pr to develop, closed https://github.com/jsumners/hapi-cas/pull/3