gbraad/passport-saml-example

View on GitHub
app/views/home.jade

Summary

Maintainability
Test Coverage
extends layout

block content
    if user !== null
        h1 Hello, #{user.firstName}
        a(href="/profile") Profile
        br
        a(href="/logout") Logout
    else
        h1 Welcome
        br
        a(href="/login") Login