stormpath / stormpath-passport-express-sample

A simple Stormpath Express sample app.
43 stars 33 forks source link

Stormpath is Joining Okta

We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

We're available to answer all questions at support@stormpath.com.

stormpath-passport-express-sample

A sample Passport + Express application which demonstrates how to successfully use passport-stormpath to handle user authentication and authorization for your web app.

Stormpath is a User Management API that reduces development time for any application with scalable user infrastructure.

NOTE: Passport.js is purely for authentication (i.e. checking that someone's username and password is valid, or getting their identity from a social provider). It is not designed for handling user registrations, manage password resets, or implement email verification workflows, etc. In turn, our Passport strategy only automates authentication. If you need to do more, like password reset, you'll need to also use the Stormpath Node SDK.

For a more seamless and automated experience, check out our express-stormpath library instead of Passport.js. It provides a full suite of user management features for your Express-based web application:

Links

Getting Started

To get started, you'll want to first clone this GitHub repository locally:

$ git clone https://github.com/stormpath/stormpath-passport-express-sample.git

Next, you'll want to go into the sample app directory:

$ cd stormpath-passport-express-sample

Then you'll want to run npm install to download the dependencies and get running!

Please read the full output of the npm install command -- it will instruct you to enter your Stormpath API credentials, and explain how to run the project once you've done so.

If you get stuck during the install process, you can restart it anytime.

That's it! Get suck? Just email us anytime: support@stormpath.com

Screenshots

Here are some various screenshots of the application (and bootstrap script!), so you can get an idea of what you're in for :)

Installing Requirements

Boostrap Script

Running

Index Page

Registration Page

Dashboard Page