Implemented this gem for JWT auth and it works like a charm, even with GraphQL.
However, using localstorage to store the Bearer token isn't very secure. Using HTTP Only Cookies seem to be a reasonable solution to that security issue. However, it seems that api_guard only supports the use of HTTP Headers to retrieve the tokens (including the refresh tokens)
Would it be possible to override the controllers to implement support for using HTTP Only cookies to retrieve the bearer and refresh tokens?
Implemented this gem for JWT auth and it works like a charm, even with GraphQL.
However, using localstorage to store the Bearer token isn't very secure. Using HTTP Only Cookies seem to be a reasonable solution to that security issue. However, it seems that api_guard only supports the use of HTTP Headers to retrieve the tokens (including the refresh tokens)
Would it be possible to override the controllers to implement support for using HTTP Only cookies to retrieve the bearer and refresh tokens?