Just upgraded my application from Scala Play application from 2.6.0-M4 to 2.6.0-M5. Everything seems to work fine but I get the following warning:
[warn] p.a.m.DefaultJWTCookieDataCodec - decode: could not decode JWT: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:354)
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:481)
at io.jsonwebtoken.impl.DefaultJwtParser.parseClaimsJws(DefaultJwtParser.java:541)
at play.api.mvc.JWTCookieDataCodec$JWTFormatter.parse(Cookie.scala:652)
at play.api.mvc.JWTCookieDataCodec.decode(Cookie.scala:577)
at play.api.mvc.JWTCookieDataCodec.decode$(Cookie.scala:569)
at play.api.mvc.DefaultJWTCookieDataCodec.decode(Cookie.scala:742)
at play.api.mvc.FallbackCookieDataCodec.decode(Cookie.scala:728)
at play.api.mvc.FallbackCookieDataCodec.decode$(Cookie.scala:719)
at play.api.mvc.DefaultSessionCookieBaker.decode(Session.scala:95)