Skip to content

Instantly share code, notes, and snippets.

@chenkie
Created August 9, 2017 19:50
Show Gist options
  • Save chenkie/03ee98bff7bca15d39ba0b8ed7aef62b to your computer and use it in GitHub Desktop.
Save chenkie/03ee98bff7bca15d39ba0b8ed7aef62b to your computer and use it in GitHub Desktop.
function (user, context, callback) {
context.idToken["http://your-domain/azure_photo"] = user.azure_photo;
callback(null, user, context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment