☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to Set Auth Module in Bokeh Server

Community Supportserver
Bryan
Bryan

You will need to pass an auth_provider param to `Server. The Bokeh server application itself does it this way:

auth_module_path = <path to auth.py>
if auth_module_path:
    server_kwargs['auth_provider'] = AuthModule(auth_module_path)

You could also use AuthModule to load separate file, or you could just implement your own subclass of AuthProvider directly.

⌁   Link to post
Bryan
Bryan

Also, as a courtesy, please state up front that you are cross-posting questions in other forums, and link to the other questions. Would appreciate as well if you now self-answer (or delete) the question here.

⌁   Link to post

End of archived discussion · Replies are disabled