Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Hive OAuth Example — Node.js

Express implementation of the Hive API v2 OAuth 2.0 Authorization Code Flow with PKCE.

Setup

cd examples/node
cp .env.example .env

Fill in your Hive OAuth credentials in .env.

Install

npm install

Run

In one terminal, start the OAuth server:

npm run server

In another terminal, serve the UI:

npm run ui

Open http://localhost:3000.

Redirect URI

Register the following in your Hive OAuth Application:

http://localhost:4000/callback