[akka-user] AkkaHttp and OAuth2 authorization code flow (logical http session? on cassandra?)

2018-01-10 Thread Nicolae Marasoiu
Hi, We need to implement OAuth2 authorization code flow in an AkkaHttp microservice. The way that I know it traditionally works needs a logical session managed with a cookie or similar: the microservice does the flow, obtains the access/refresh tokens and caches the tokens for future use until

[akka-user] cachingProhibited causes 404 not found to be returned by the server

2017-12-20 Thread Nicolae Marasoiu
Hi, I have js files and a getFromResourceDirectory. Since Chrome is caching them and takes from cache without checking with the server (say via a request with If-Modified-Since, or etag checking), I am trying with cachingProhibited directive to check if when Expires, no-cache and/or max-age