localhost refused to connect - kite login url

thiyagu
I am trying to connect Kite login url from jupyter notebook using the below line.

# Generate the login URL
login_url = kite.login_url()

By opening the generated URL, in the new browser window , I am getting "localhost refused to connect".

Please help to fix the issue.
  • salim_chisty
    You might have given localhost as the redirect URL. It doesn't matter if the redirect URL loads or not; you can copy the request token from the URL and use it to generate the access token. You may refer to the similar discussion here.
  • thiyagu
    Thanks. got it.
This discussion has been closed.