Authentication using GitHub as provider

hi,
I am able to serve a Panel on my website without OAuth

# environment variable
export BOKEH_ALLOW_WS_ORIGIN="myapp.io"
# serve command
panel serve mynotebook.ipynb --port 8008

(myapp.io redirect to https://localhost:8008 where the notebook is served)

  • Visiting myapp.io redirect me to myapp.io/mynotebook and display the panel as expected

Next step is to activate OAuth with GitHub as provider

# environment variable
export BOKEH_ALLOW_WS_ORIGIN="myapp.io"
# serve command
panel serve mynotebook.ipynb --port 8008 --allow-websocket-origin=myapp.io --oauth-provider=github --oauth-key=*** --oauth-secret=*** --cookie-secret=*** --oauth-encryption-key***
  • Visiting myapp.io redirect to myapp.io/login?next=%2F
  • that redirect to https://github.com/login/oauth/authorize?response_type=code&redirect_uri=http%3A%2F%2Fmyapp.io&client_id=***&state=***
  • that redirect to myapp.io/?code=***
    Here I get the error ERR_CONNECTION_REFUSED

any help to point me on the missing piece ?