Skip to content

stormz/stormz-oauth2-examples

master
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
 
 
 
 
 
 
 
 
 
 

Oauth2 nodeJS examples with Stormz

An easy way to try OAuth2 with Stormz

Install

First ensure to have nodeJS (and yarn) installed

Get node packages

yarn

Add configuration

cp test_conf.sample.json test_conf.json

And edit test_conf.json with your oauth2 applications and account informations.

Examples

All examples are runnables and output to the console your user informations.

Password Credentials Flow

yarn password_credentials

[src: password_credentials_flow.js]

Authorization Code Flow

yarn authorization_code

[src: authorization_code_flow.js]

Implicit Grant Flow

yarn implicit_grant

[src: implicit_grant_flow.js]

About

Oauth2 nodeJS examples with Stormz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published