Thanks Joao,
Went with the rule:
function (user, context, callback) {
const namespace = configuration.API_NAMESPACE;
context.accessToken[namespace + ‘username’] = user.username;
callback(null, user, context);
}
Thanks Joao,
Went with the rule:
function (user, context, callback) {
const namespace = configuration.API_NAMESPACE;
context.accessToken[namespace + ‘username’] = user.username;
callback(null, user, context);
}