Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for cas-attribute #29

Closed
mghadam opened this issue Apr 5, 2020 · 1 comment
Closed

Support for cas-attribute #29

mghadam opened this issue Apr 5, 2020 · 1 comment

Comments

@mghadam
Copy link

mghadam commented Apr 5, 2020

I'm using this server with apache mod_auth_cas and it's working great. I wonder if it is possible to add custom CAS attributes to the users fields :

<Location /secured>
	Authtype CAS
	Require cas-attribute edupersonaffiliation:staff
</Location>
<Location /admin>
	Authtype CAS
	Require cas-attribute edupersonaffiliation:admin
</Location>

I would greatly appreciate if you could give a brief instruction on this.

@leo108
Copy link
Owner

leo108 commented Apr 7, 2020

Just put anything you want here https://github.com/leo108/php_cas_server/blob/master/app/User.php#L65

@leo108 leo108 closed this as completed Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants