Skip to content

Instantly share code, notes, and snippets.

{
"audience": "https://app.datadoghq.com/account/saml/metadata.xml",
"mappings": {
},
"createUpnClaim": false,
"passthroughClaimsWithNoMapping": false,
"mapUnknownClaimsAsIs": false,
"mapIdentities": false,
"nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
"nameIdentifierProbes": [
@sgmeyer
sgmeyer / README.md
Last active January 15, 2018 11:56

Cloning All Extensions

This gist contains a script for cloning all the extensions in the current directory. I recommend following the current steps, however you are free to clone these anywhere.

cd ~/Source
mkdir auth0-extensions && cd "$_"

curl "https://gist.githubusercontent.com/sgmeyer/f622dd49e661c4b62e447530af2762b8/raw/c39122d57cf3ae41b6fd17019432b48edb8415e0/checkout-all-repos.sh" > checkout-all-repos.sh
/**
* A quick demonstration of how to interact with the Auth0 Management API to retrieve user status
* of a user by email address. This is not production ready, however it demonstrates how this
* can be achieved.
*
* This is provided under the MIT license: https://raw.githubusercontent.com/angular/angular.js/master/LICENSE
*
* Usage:
*
* const user = require('./userstatus');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sign In with Auth0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://rawgit.com/sgmeyer/6293f7dbeef2f5ceb528efeed704ae30/raw/34cc4bad22f00deef29c881dadea5518ab091ac2/iafc-demo.css" />
</head>
<body>
*, *:before, *:after {
box-sizing: border-box;
}
html {
overflow-y: scroll;
}
body {
background: #c1bdba;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sign In with Auth0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
body,html{padding:0;margin:0}.table{display:table;position:absolute;height:100%;width:100%;background:linear-gradient(rgba(255,255,255,.3),rgba(255,255,255,0));background-color:#e8ebef}.cell{display:table-cell;vertical-align:middle}.content{padding:25px 0;margin-left:auto;margin-right:auto;width:280px}
</style>
@sgmeyer
sgmeyer / add-remote.cmd
Last active August 5, 2016 11:57
Adds a remote repository to an existing repository. This can be used for transferring repositories to multiple Git providers. It can also be useful for sharing code.
# Adds a remote called 'github' to your repository
git remote add github https://github.com/your_username/your-git-repository.git
# Bare, mirrored push to 'github' remote repository
git push -mirror github
# Deletes top level nuget_packages directory
find . -type d -name nuget_packages | xargs rm -rf
# Finds all of the bin directories and deletes them.
find . -type d -name bin | xargs rm -rf
# Finds all of the packages directories and deletes
find . -type d -name packages | xargs rm -rf
# Finds all of the obj directories and deletes everything.