Need feedback for integrating Httponly Cookies.
Unanswered
Silver Fox posted this in #help-forum
Silver FoxOP
We need an additional insight. Essentially, our cookies are stored as httponly, meaning the only way to access them is through the server. Therefore, our approach involved retrieving the cookies in app.js using getInitialProps, then passing these cookies to our axiosInterceptor as props. We utilized this prop as our token. Btw we are using next js 12. Is this a good approach, if not any help is very much appreciated.