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

Override the validation url #37

Open
erozqba opened this issue Dec 15, 2016 · 0 comments
Open

Override the validation url #37

erozqba opened this issue Dec 15, 2016 · 0 comments

Comments

@erozqba
Copy link

erozqba commented Dec 15, 2016

Hello,
Using phpCAS is possible to override the validation URL but not with XavRsl/Cas.
Example:
https://github.com/Jasig/phpCAS/blob/master/docs/examples/example_custom_urls.php#L39

// Override the validation url for any (ST and PT) CAS 2.0 validation
phpCAS::setServerProxyValidateURL('https://cas.example.org:1443/proxyValidate');
// Override the validation url for any CAS 1.0 validation
//phpCAS::setServerServiceValidateURL('https://cas.example.org:1443/serviceValidate');
//Override the validation url for any SAML11 validation
//phpCAS::setServerSamlValidateURL('https://cas.example.org:1443/samlValidate');

I really need this option to retrieve custom attributes for the logged user, so I will submit a patch for this.

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

1 participant