Community
Participate
Working Groups
Normally when OpenID login is presented in a browser, the user can verify the authenticity of the login page from the browser address bar, and know if it's secure from the "lock" icon. I didn't notice any such information provided via the login dialog. This authenticity feedback is part of what makes OpenID work — I suspect that users may be reluctant to enter their username and password if they're not sure where the web page originated from. The dialog presented by @GerritRepositoryLocationUi.showAuthenticationDialog(String, OpenIdAuthenticationRequest)@ should provide the user with the web address location, and some indication as to the transport-layer protocol security (TLS/SSL). related to bug 341434: support openid for login to gerrit
Created attachment 203525 [details] mylyn/context/zip
Good point. We should investigate if the browser API supports displaying page authenticity information.
I didn't notice any browser APIs to validate authenticity. We'll have to rely on the browser to show the appropriate warnings in case a certificate is not trusted. To provide some feedback as to where the login form is originating from I added a label that shows the URL. It's not perfect but the best we can do for now.
Created attachment 210205 [details] mylyn/context/zip