Auth0 Home Blog Docs

Group and Roles in Javascript SDK

groups
angular5
#1

Hi,
I am new to auth0 and has gone through the documentation for angular sdk. Right now I am trying to create groups for users and access that information from angular side but whatever I do i am not getting the info. I have added Auth0 Authorization extension and enabled all the options for token content. But the payload result that I am getting doesn’t have group information or user metadata. I tried adding the scopes as
scope: 'openid profile user_metadata email groups roles'

but still not showing any result. I tried to give only user_metadata then the payload returns with scope as null. I don’t know what I am doing wrong. Can some one point me in the right direction.