Then I used to kubectl proxy command as suggested in the post and I was able to login with token from localhost machine.
Now, I am at the point where I want to access the dashboard from remote machines, and I used:
kubectl proxy --accept-hosts=’.*’ --address=‘126.96.36.199’
I am able to access the dashboard, but when I click Sign In button after providing the token, nothing happens. Looking in the browser developer console, it seems like the cookie is not being created although the requests are OK. What am I missing?