Problem solved! After changing the ‘Path’ attribute of jupyterhub cookie, 
everything started to work! Seemed it was cause by the incorrect scope setting.
 
Much appreciated!

> On Aug 12, 2021, at 04:21, Sandeep Moré <[email protected]> wrote:
> 
> Hello Eric,
> Knox should not be deleting cookies. These cookies by jupyterhub, I presume
> get added after successful authentication by Knox right? it could be that
> the cookies are not getting properly set (check the host and path on the
> cookies).
> 
> What do you see in Knox logs?
> 
> On Mon, Aug 9, 2021 at 5:32 PM Eric Gao <[email protected]> wrote:
> 
>> Hello,
>> 
>> I’m trying to integrate knox with jupyterhub. However, the cookie added by
>> jupyterhub for current user tracking get cleaned by knox. Is there any way
>> to keep cookies in http request to backend?
>> 
>> Thanks!
>> 
>> Eric Gao

Reply via email to