we are trying to be implementing the open integration hub locally but in token creation we cannot get the tokens, simply getting error or html code of the base url page
I suspect that is a https page and the request in the console log is defaulting to http.
Try putting in the full URL including https.