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

Allow different hostnames for login and validate #41

Open
jonocodes opened this issue Dec 18, 2015 · 1 comment
Open

Allow different hostnames for login and validate #41

jonocodes opened this issue Dec 18, 2015 · 1 comment

Comments

@jonocodes
Copy link

Some network setups have different DNS routes for the login URL and the validation URL. omniauth-cas assumes there is one FQDN for both of these routes. Looking at the code it always appends the host, instead of allowing this to be overridden:
https://github.com/dlindahl/omniauth-cas/blob/master/lib/omniauth/strategies/cas.rb#L155

However other CAS clients allow for this flexability, for example:
https://github.com/rubycas/rubycas-client#a-more-complicated-example

This way I could specify something like
:cas_base_url => "https://external.route.to.cas.com/",
:login_url => "https://external.route.to.cas.com/login",
:logout_url => "https://external.route.to.cas.com/logout",
:validate_url => "https://internal.cas/proxyValidate",

@dlindahl
Copy link
Owner

I no longer have access to a CAS server and therefore am no longer fit to maintain this project.

If you would like to volunteer to be a maintainer of this project, please let me know by opening an Issue.

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