Disabling cookie encryption the proper way

Hello,

I need to disable cookie encryption. I saw few other bug reports with that request. Would you add support for that upstream?

1 Like

You can see other cookie related options under config/session.js ,
question? Why do you want to “Disable cookie encryption ?” and what it means the “proper way” ?

also check the adonis docs for cookie info:
https://adonisjs.com/docs/4.1/request#_cookies
https://adonisjs.com/docs/4.1/response#_cookies

regards

1 Like

I wrote about in the feature request on guthub. Basically, we have a lot of software downstream that needs to access session and auth cookies. Right now we have to maintain our fork of adonis-sesssion, and few other packages rewritten to use plainCookie.

Having some master switch to turn cookie encryption on or off for the entire setup would’ve been great for us.

2 Likes