No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Flexkit Example

To install the plasso library using NPM do: npm install --save plasso.

An example of using express:

var express = require('express');
var app = express();
var Plasso = require('plasso');

var plasso = new Plasso();

app.use('/protected', plasso.middleware());
app.use('/protected', (req, res) => {
  res.end('super secret site');
app.use((req, res) => {
  var html = `
<a href="">Sign Up</a>
<a href="">Login</a>
<script src=''></script>
    spaceId: 'abc123',
    mode: 'signup'


If this site is running at you can set the forward url in your plasso account to If the user is not logged in they will be redirected to the root url If they are logged in then they log out the go to your configured Logout Url.

Member Data

After a member is successfully authenticated all of their Member Data will be available in plasso.memberData.

app.use('/protected', (req, res) => {
  var data = plasso.memberData;
  res.end('super secret site. <hr>' + JSON.stringify(data));