Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

CASino not sending extra attributes at times #134

Open
hirefront opened this issue Oct 21, 2015 · 1 comment
Open

CASino not sending extra attributes at times #134

hirefront opened this issue Oct 21, 2015 · 1 comment

Comments

@hirefront
Copy link

Hi,

In mi CAS client user model, I have cas_extra_attributes method for receiving these parameters from the server.

I have detected the following situation: Sometimes CASino is sending the roles (extra_attribute) as an empty array, and in the users DB the roles are there for sure.

I was wondering if this might be caused for one of these two:

  1. Problems with associated attributes in the user model (Such as roles, these are managed in a separate application)
  2. Problems with having multiple instances of the CAS server and clients
  3. Ticket expirations problems?

Any help would be amazing.

@luxflux
Copy link
Member

luxflux commented Oct 24, 2015

So right now, I don't have any clue how this can happen. I saw several different configurations where the extra_attributes worked consistently well.
The only difference was that there was always only one CAS server (CASino), maybe it was running multiple instances through mod_passenger but it was always running on only one server.

Could you provide us the configuration you are using? Maybe also the XMLs request and response of the client<->server communication of such an empty array response.

Is it always the same user(s)? Or is this random?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants