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