Last active
January 13, 2019 16:11
-
-
Save rinormaloku/a95a252b8c6851dd42ce258a57f7d0c6 to your computer and use it in GitHub Desktop.
[Rule for adding group to access token] for the article series Intro to Istio https://rinormaloku.com/istio-an-introduction/
This file contains 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
function (user, context, callback) { | |
context.accessToken['https://sa.io/group'] = user.groups[0]; | |
return callback(null, user, context); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment