I'm trying to implement https://github.com/jamesward/play-rest-security for my REST endpoint.
I set the returning result of my implementation with Scala Play result.withCookies(Cookie(AUTH_TOKEN, authToken)).
But, in the client side(js), somehow when i try to access using document.cookie. The cookie is not found.
With using the Java API of response().setCookie(AUTH_TOKEN, authToken) seems different though. Its accessible via document.cookie.
What am i missing here?