This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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" /> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// eslint-disable-next-line no-unused-vars | |
function contextualMFA(user, context, cb) { | |
/* | |
This rule is designed to demonstrate triggering MFA based on logical/contextual information during authentication. | |
MFA will be triggered if either of the below conditions are true. | |
1. Risk Score > 0.5 | |
2. User has preferMFA in user_metadata |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global configuration */ | |
/** | |
* @title Fraud Prevention | |
* @overview Send the user's IP address, user agent, email address and username in MD5 to MaxMind's MinFraud API. | |
* | |
* This rule will send the user's IP address, user agent, email address (in MD5) and username (in MD5) to MaxMind's MinFraud API. This API will return information about this current transaction like the location, a risk score, ... | |
* | |
* > Note: You will need to sign up here to get a license key https://www.maxmind.com/ | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// eslint-disable-next-line no-unused-vars | |
function deDupeEmail(user, context, callback) { | |
// Set app_metadata to empty object if it has not been set | |
user.app_metadata = user.app_metadata || {}; | |
const email = user.email || ''; | |
if (context.clientName === 'Duplicates0') { | |
context.idToken['https://duplicate.email/duplicate_email'] = user.app_metadata.duplicate_email; | |
callback(null, user, context); | |
return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Travel0 Login</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<link rel="stylesheet" href="https://d2qcgv1x1k2it7.cloudfront.net/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://d2qcgv1x1k2it7.cloudfront.net/css/v2/lock-normal-overrides.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Travel0 Login</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<link rel="stylesheet" href="https://d2qcgv1x1k2it7.cloudfront.net/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://d2qcgv1x1k2it7.cloudfront.net/css/v2/lock-normal-overrides.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "id", | |
"type": "id", | |
"length": "", | |
"case-sensitive": "", | |
"default": "", | |
"ignore-update": false, | |
"locally-unique": false, | |
"primary-key": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"length": 100, | |
"case-sensitive": false, | |
"name": "Business_Group", | |
"type": "string" | |
}, | |
{ | |
"name": "accountDataRequestTime", | |
"type": "dateTime" |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
email,givenName,familyName,displayName,password,mobileNumber,gender,birthday,primaryAddress.phone,primaryAddress.address1,primaryAddress.address2,primaryAddress.city,primaryAddress.zip,primaryAddress.stateAbbreviation,primaryAddress.country,created,clients | |
"[email protected]","John","Doe","JohnD1234","{""type"": ""password-bcrypt"",""value"":""$2a$04$ogMILkiHiSvtpZpoJmVg7OotiEOpl7rQIhSwafBEpPKRVLm/SNQdu""}","1","M","01/29/1881","2025550106","1427 Weekley Street",,"San Antonio","78205","TX","US","1875-08-02 15:28:31","[{""clientId"": ""62652011"", ""name"": ""Client Name 0""}, {""clientId"": ""11352827"", ""name"": ""Client Name 1""}]" | |
"[email protected]","Mike","Smith","MikeS1234","{""type"": ""password-bcrypt"",""value"":""$2a$10$wm3rzJC2D6Ma6Vlb0Vz35u4UPVQI2hrV/MpIvSNbQXqjYg5ZZjEli""}","2","M","01/29/1881","2025550106","1427 Weekley Street",,"San Antonio","78205","TX","US","1875-08-02 15:28:31","[{""clientId"": ""62652011"", ""name"": ""Client Name 0""}, {""clientId"": ""11352827"", ""name"": ""Clie |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'babel-polyfill' | |
import { UserManager } from 'oidc-client' | |
import Container from '@material-ui/core/Container'; | |
import Button from '@material-ui/core/Button'; | |
import Table from '@material-ui/core/Table'; | |
import TableBody from '@material-ui/core/TableBody'; | |
import TableCell from '@material-ui/core/TableCell'; | |
import TableContainer from '@material-ui/core/TableContainer'; | |
import TableRow from '@material-ui/core/TableRow'; | |
import Paper from '@material-ui/core/Paper'; |
OlderNewer