Skip to content

Instantly share code, notes, and snippets.

View aaguiarz's full-sized avatar

Andrés Aguiar aaguiarz

View GitHub Profile
@aaguiarz
aaguiarz / lock_v9.html
Created December 13, 2017 02:36
Lock v9 Sample
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<title>Lock 9 Example with Redirect</title>
</head>
<body>
<script src="http://cdn.auth0.com/js/lock-9.min.js"></script>
@aaguiarz
aaguiarz / lock_v11.html
Created December 13, 2017 02:36
Lock v11 Sample
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<title>Lock 11 Example with Redirect</title>
</head>
<body>
<script src="https://cdn.auth0.com/js/lock/11.0.0-beta.8/lock.min.js"></script>
@aaguiarz
aaguiarz / getuser.js
Created December 15, 2017 16:28
Get Users using Management API with access_token
function getUserUsingManagementApi() {
webAuth.checkSession(
{
audience: "https://aaguiar0.auth0.com/api/v2/",
scope: 'read:current_user'
},
function(err, result) {
if (!err) {
var auth0Manage = new auth0.Management({
@aaguiarz
aaguiarz / account_linking.html
Created December 20, 2017 21:03
Account Linking using Access Token as Bearer
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdn.auth0.com/js/lock/11.0.0-beta.9/lock.min.js"></script>
<script src="https://cdn.auth0.com/js/auth0/9.0.0-beta.10/auth0.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="//use.typekit.net/iws6ohy.js"></script>
Thank you for your interest in contributing to Okta’s open source projects! We have developed an Individual Contributor License Agreement (CLA) for developers to sign when submitting code to Okta on our public repositories through PRs on GitHub (or other methods). This CLA allows us to merge in code (or build upon suggested code) in our sample apps and SDKs, giving us the ability to utilize that code in the course of our business. A CLA is vital to building up public code repositories that can be used by a business. The use of CLAs is common in the development of software, especially open source software. Examples of other entities that use CLAs are The Apache Software Foundation, the Eclipse Foundation, and Google.
The CLA is used to protect the rights of you the Contributor, Okta, and Okta’s users. The CLA does not take away any right, title, or interest you have in your contribution and only assigns the rights specified in the CLA to Okta in order to allow Okta and Okta’s users to use your contribution.