mvk13ogb / qwait

Queueing system for KTH CSC
qwait.csc.kth.se
GNU Affero General Public License v3.0
5 stars 0 forks source link

Can't log in with CAS on local server #168

Open adrianblancode opened 10 years ago

adrianblancode commented 10 years ago

When starting a local server it's impossible to log in, as login.kth.se just greets you with the following message:

Unauthorized web service.

The application you attempted to authenticate to is not authorized to use the central authentication service.

This more or less prevents any fixes. @dflemstr could you take a look at this while you are here checking out tickets? :)

dflemstr commented 10 years ago

This needs to be brought up with CSC IT support. This worked before but seems to no longer be working.

cwinsnes commented 10 years ago

I've heard that KTH have made a new rule stating that only KTH domains can use CAS for login which makes in impossible to use on a local server.

dflemstr commented 10 years ago

Maybe they can add an exception specifically for localhost? I understand that foo.com shouldn't be able to log in, but I don't see why you would forbid local development...

austrin commented 10 years ago

It is not true that there is a new rule restricting CAS requests to come from KTH domains. However, non-KTH domains now need to be added to a whitelist. Getting domains added to this whitelist can supposedly be accomplished by e-mailing it-support@kth.se.

dflemstr commented 10 years ago

Our domain is already added and the production systems work fine. It's just for local testing that it would be useful to get CAS support. We could of course create a mock login backend for local development...