Hi There,
I’m using GitHub - auth0/auth0-java-mvc-common: Contains common helper classes and api client logic that are used across our Java MVC libraries, but
I’m having a login error on iPhoneXR (IOS12.1.1).
-
Which SDK does this apply to? (Ex: auth-node)
auth0-java-mvc-common -
Which verison of the SDK you are using? (Ex: 1.0)
1.2.0 -
Which version of the platform are you facing this error on? (Ex: Node 6.4)
Java Platform, Standard Edition 11 Reference Implementations -
Was this code working before? Have you made any changes in the dashboard recently?
Some of the IOS versions did not work.
IOS 12.1.1 does not work.
IOS 12.4 is fine. -
Please capture and attach the stacktrace, it helps a lot!
See attachment(trace.txt)
trace.txt (12.3 KB) -
Can you share a minimum reproducible?
-
Please share the code that is causing the error.
public Tokens handle(HttpServletRequest request, HttpServletResponse response) {
try {
log.debug("Session:com.auth0.state:" + (String) SessionUtils.get(request, "com.auth0.state")
+ " - getParam:state=" + request.getParameter("state"));
return authenticationController.handle(request, response);
} catch (IdentityVerificationException e) {
var rp = String.format("Request Parameter :%s", LogUtil.toJson(request.getParameterMap()));
throw new Auth0TokenException(rp, e, CidErrorCode.EAT00102, HttpStatus.BAD_REQUEST);
}
}
Only on IOS12.1.1, “com.auth0.state” in the session is always null.
Session:com.auth0.state:null - getParam:state=UNE4ldefqJ9zCxAfmGy_hi5f3T1g4t2l7KhE6hYS79k
I expect it might be a problem with IOS 12.1.1.
Has anyone else had this happen?