I added user authentication by passing an “auth_module” to the bokeh server. I also need the user name within my panel app, so I used
pn.state.cache["username"] = username
But now users found that this sometimes results in other user names that are logged in. Is there a proper way to access that value, maybe through the tornado request handler?
If I could get
tornado.web.RequestHandler somehow from within my panel app, I could access the cookie that keeps the user name.