If you want to access hive.js functionality on behalf of a user, you will need to use the OAuth protocol to obtain an access token, which you can use to authenticate with the hive server.
In order to obtain an access token, redirect the user's browser to the following URL:
response_typeAt the moment hive.js only supports the implicit grant type (aka.
redirect_uriThe callback URI that the user will be redirected to; should be a https url.
scopeA value that is currently specific to the hive.js authorization provider, this may change in future versions; leave out for full access.