-
Notifications
You must be signed in to change notification settings - Fork 391
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
username parameter to login #39
Comments
You can use something like this:
The setServerLoginUrl() [1] function overrides the autogenerated login url. You can embedd any kind of parameters in this function. |
I am not sure I understand your response. We get the username or email and try to determine if the user authenticates with a CAS Server .. Thx, |
Are you using the phpcas library to do the authentication and redirection? If the answer is "yes" you have to initialize the phpcas like in any other app and simply override the login url with a custom login url where you can embedd your username as a variable. Regarding the cas server sided changes you might need to do a small login page customization to autofill the username field. I don't think that is supported out of the box. [1]https://github.com/Jasig/phpCAS/blob/master/docs/examples/example_custom_urls.php |
Hello, On Wed, May 30, 2012 at 9:53 PM, Joachim Fritschi
No.. I've wriiten a python repose.who handler handling the CAS ticket
I guess this is exactly what I am asking for.. An enhancement request
Kristian G. Kvilekval (kkvilekval@gmail.com) 805-636-1599 |
To my knowledge the automatic filling of the user field is not supported by choice by the cas server. Security being the main problem to my knowledge. The cas philosophy is that the cas server is the only server to recieve or gather credentials. But you are currently filing an issue at the wrong project. phpcas is a cas client library in php. Your request is better suited at cas server project or the cas-user or cas-dev mailing list. But in my view your request is a simple change in the /WEB-INF/view/jsp/default/ui/casLoginView.jsp of the cas server which you can do locally or you need to convince your cas server operators of. Anyway i'm closing this issue here. |
We are writing an interface that queries the user id and then authenticates using either CAS, local, or openID. It would be great
if we could pass the username given to our interface to the cas login page page with something like
https:/somwhere.org/cas/login?id=kkvilekval&service=http://myservice.org/
Which would then present the user login with the form with the username field filled out.
[1] https://sites.google.com/site/oauthgoog/UXFedLogin/summary
The text was updated successfully, but these errors were encountered: