Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CAS authentication fails #162
I'm (still) upgrading to beta2, and while LDAP is looking good, CAS is erroring out. From Jasig's CAS server:
So apparently there's a validation between service URLs. CAS did work for me previously without issue, and while I haven't touched anything CAS-related, there haven't been many OmniAuth changes either, which is strange.
If I strip out this line in CAS::Configuration#service_validate_url and instead just return
...but OmniAuth's callback still redirects it to
Happen to have run into this at all before? I'm pretty puzzled here.
For what it's worth, I tried this from the barebones Sinatra example on the wiki (my changes are here). This was on the latest (3.4.5) Jasig's CAS server — and 3.3.5 for good measure — and it still generates the same error:
That's about as barebones and standardized as I can get; it certainly seems like CAS is broken on beta2 right now.
Aha. Finally traced the cause.
The addition of