PerStirpes / ld-oauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ld-oauth

LaunchDarkly OAuth Node JS starter project. A functional OAuth example using the client-oauth2 library.

This app is currently deployed here: https://ld-hello-oauth.herokuapp.com/

See Authorizing OAuth Applications for information on managing OAuth applications within LaunchDarkly

Usage Guide

  1. Register a new OAuth App with LaunchDarkly with a redirect_uri of http://localhost:4000/redirect.
  2. Clone this repop and run npm install
  3. Create a .env file with the following required environment variables (LunchDarkly provides this information after registering your app):
    • OAUTH_CLIENT_ID
    • OAUTH_CLIENT_SECRET
  4. Run node app.js to start the express server.
  5. Visit http://localhost:4000 to begin the authorization process.

About

License:MIT License


Languages

Language:JavaScript 77.8%Language:HTML 16.3%Language:CSS 5.9%