Not able to fetch the roles in the user data for authorization extension

I am trying to add the roles into my access token using the rules as below using authorization extension.

user { _id: '<>', email_verified: false, email: 'hellocharles@tekion.com', clientID: '<>', updated_at: '2018-10-03T06:47:05.315Z', name: 'hellocharles@<>.com', picture: 'https://s.gravatar.com/avatar/fbc794d094bae4a793ad53b6b42587f4?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fhe.png', user_id: 'auth0|<>', nickname: 'hellocharles', identities: [ { user_id: '<>', provider: 'auth0', connection: 'Username-Password-Authentication', isSocial: false } ], created_at: '2018-10-03T06:45:13.254Z', global_client_id: 'f50OGK7W6Pr3zcq5euHmBhzQh7M78Y7M', persistent: {}, groups: [ 'Developer' ], roles: [], permissions: [] }

I am able to get the roles and permission. I was only able to get the groups. Can someone quickly help on this.

Regards,
Akshay

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?