Skip to content

Instantly share code, notes, and snippets.

View TommyKolkman's full-sized avatar

Tommy Kolkman TommyKolkman

View GitHub Profile
<?php
/*
Plugin Name: Simple Shibboleth Authentication
Author: Martin Parm
Version: 0.0.1
*/
function custom_login(){
$headers = getallheaders();
// TODO: Bail on no SSO-heaers