Skip to content

zaikio/zai-demo-node

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

zai-demo-node

Demo for Zaikio OAuth flow and app installation per organization.

DEMO

Getting Started

First you must create an app in hub.zaikio.com.

Then you need to copy your HUB_OAUTH_CLIENT_ID and HUB_OAUTH_CLIENT_SECRET to an .env file.

$ cp .env.example .env

It is important that you add your URL to the Redirect URLs in Directory. For this test project you need to add http://localhost:8080/oauth/callback and =http://localhost:8080/oauth/org-callback.

You need to add the following desired scopes: directory.person.r, directory.organization.r.

Install the dependencies and run the dev server.

$ npm install
$ npm run start

About

Nodejs app that performs OAuth flow with Zaikio

Topics

Resources

Stars

Watchers

Forks