Entering a password and clicking "sign in" during OpenID login generates and Internal Server Error when a correct password is entered after a previous incorrect password login error. Log output is below.
Steps to reproduce.
1) Click Login tab
2) Enter OpenID and click "Go"
3) Enter *incorrect* password. Results in Login Page with: Error: Bad Credentials
4) Enter *correct* password.
5) An internal server error results.
Looks like the subsequent login is missing a "mode" form variable.
Once in this state, a login via username and password also fails with Internal Server Error.
Log output:
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.openid4java.message.MessageException: 0x100: Required parameter m
issing: openid.mode
at org.openid4java.message.Message.validate(Message.java:188)
at org.openid4java.message.AuthRequest.validate(AuthRequest.java:229)
at org.openid4java.message.AuthRequest.createAuthRequest(AuthRequest.jav
a:116)
at sgf.gateway.web.controllers.security.openid.OpenidProviderLoginContro
ller.onSubmit(OpenidProviderLoginController.java:88)
at org.springframework.web.servlet.mvc.SimpleFormController.processFormS
ubmission(SimpleFormController.java:272)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequ
estInternal(AbstractFormController.java:268)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:790)
... 65 more
Steps to reproduce.
1) Click Login tab
2) Enter OpenID and click "Go"
3) Enter *incorrect* password. Results in Login Page with: Error: Bad Credentials
4) Enter *correct* password.
5) An internal server error results.
Looks like the subsequent login is missing a "mode" form variable.
Once in this state, a login via username and password also fails with Internal Server Error.
Log output:
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.openid4java.message.MessageException: 0x100: Required parameter m
issing: openid.mode
at org.openid4java.message.Message.validate(Message.java:188)
at org.openid4java.message.AuthRequest.validate(AuthRequest.java:229)
at org.openid4java.message.AuthRequest.createAuthRequest(AuthRequest.jav
a:116)
at sgf.gateway.web.controllers.security.openid.OpenidProviderLoginContro
ller.onSubmit(OpenidProviderLoginController.java:88)
at org.springframework.web.servlet.mvc.SimpleFormController.processFormS
ubmission(SimpleFormController.java:272)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequ
estInternal(AbstractFormController.java:268)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
ndle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:790)
... 65 more
- relates to
-
GTWY-2113 CLONE - User Login
- Done