@jakiegleason, there is a bug in the authorization extension now that will not add the roles to the JWT. You can add a rule to follow the authorization extension rule that does this:
function (user, context, callback) {
// OIDC-Conformant pipeline will not return JWT tokens
// with the non-namespaced "roles", "permissions" and/or "groups" custom claims
// so let's add them manually
context.idToken['https://mycustomdomain.com/claims/authorization/roles'] = user.roles;
context.idToken['https://mycustomdomain.com/claims/authorization/permissions'] = user.permissions;
context.idToken['https://mycustomdomain.com/claims/authorization/groups'] = user.groups;
callback(null, user, context);
}
I have filed a bug with that extension to fix this problem.
Sorry for such a delayed response! We’re doing our best in providing you with the best developer support experience out there but sometimes our bandwidth is just not enough for all the questions coming in. Sorry for the inconvenience!
Can you let us know if you still require further assistance from us?