I’m using the oauth-okta-starter from the okta-spring-boot-login-options-example. When Okta redirects back to my dev server, the handoff fails, presumably because of this cookie parsing failure. I haven’t altered the example in any significant way. Hoping someone can enlighten me as to how to fix this?
2019-09-18 10:39:53.575 INFO 1932 — [nio-8080-exec-1] o.apache.tomcat.util.http.parser.Cookie : A cookie header was received [responseType":[“id_token”,“token”],“state”:“K4VhwJjqTGLVWGYPn3tjqcERHbXob1j6spiyseCtnIafYkgipqlSz1UKEuyAIJzk”,“nonce”:“CojdB7a6LO202rVpB266r9oXW0o5ixSbZDxRXRDZJZs9LX3wpIgZXZ99Dx3pCj7h”,“scopes”:[“openid”,“email”],“urls”:{“issuer”:“https://amway.okta.com/oauth2/aus1h78lyb8aJ7EBp0h8",“authorizeUrl”:“https://amway.okta.com/oauth2/aus1h78lyb8aJ7EBp0h8/v1/authorize”,“userinfoUrl”:"https://amway.okta.com/oauth2/aus1h78lyb8aJ7EBp0h8/v1/userinfo”}}; okta-oauth-nonce=CojdB7a6LO202rVpB266r9oXW0o5ixSbZDxRXRDZJZs9LX3wpIgZXZ99Dx3pCj7h; okta-oauth-state=K4VhwJjqTGLVWGYPn3tjqcERHbXob1j6spiyseCtnIafYkgipqlSz1UKEuyAIJzk; JSESSIONID=C6611CA9DBE08DA54DDDD6849138B215] that contained an invalid cookie. That cookie will be ignored.
Note: further occurrences of this error will be logged at DEBUG level.