Skip to content

Instantly share code, notes, and snippets.

View DigitalLeaves's full-sized avatar
👨‍💻
Focused on Your Company In Estonia now...

Ignacio Nieto DigitalLeaves

👨‍💻
Focused on Your Company In Estonia now...
View GitHub Profile
@nzpcmad
nzpcmad / ws-fed-auth0.js
Created February 17, 2016 01:12
Node.js with Express SSL, WS-Fed and ADFS
// http://collectivegarbage.azurewebsites.net/use-thinktecture-identity-server-v2-to-authenticate-your-node-application/
var express = require('express'),
app = express(),
bodyParser = require('body-parser'),
cookieParser = require('cookie-parser'),
session = require('express-session'),
passport = require('passport'),
wsfedsaml2 = require('passport-wsfed-saml2').Strategy;