-
Notifications
You must be signed in to change notification settings - Fork 105
Can't login to gerrit server configured to use sso authentication. #531
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
Comments
I think you should provide the option to use the .gitcookies in the user's home directory and read them in the http client configuration. A good example as how to basically use Apaches HTTP-Client can be found here The part of how to use Cookies can be found in section 5 |
I wonder if this way could help in you case? |
I've tried that, and it does not work. |
Also note that in my case, the server may require to prompt the user to touch the security key:
But instead of prompting for use of security key, it just fails |
Thanks for your feedback. This case seems to be tricky. I do not think an interactive login would be easy to implement in the plugin. Setting up HTTP credentials in Gerrit does not work in your case because there is a proxy in front which does the login handling, right? |
I don't know if you have to do interactive login every time, the server would ask to touch the biometric device at least once a day, and every time I connect through SSH,, so perhaps, it is only a matter of popping up the dialog when the server requests it. Or allow the client to use .gitcookies to authenticate |
Attempting to login in the gerrit plugin for pycharm, I've tried to provide the credentials (server url, user id, and password), the test connection fails.
I've tried all possible user id and password combinations I could think of (including those in the contents of the ".gitcookies" generated by the gerrit server).
I have no problem connecting to the server's web-GUI using SSO.
Please advise.
Thanks
The error content is basically the sso login dialog box that the server redirects to.
The text was updated successfully, but these errors were encountered: