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

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

Open
adrianblancode opened this issue Sep 11, 2014 · 5 comments
Open

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

adrianblancode opened this issue Sep 11, 2014 · 5 comments
Labels

Comments

@adrianblancode
Copy link
Member

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
Copy link
Member

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

@cwinsnes
Copy link
Contributor

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
Copy link
Member

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
Copy link

austrin commented Sep 15, 2014

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 [email protected].

@dflemstr
Copy link
Member

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants