How to get org_id as part of access token using Auth0?

  • I am try to get get org_id While generating using UserNamePassword authentication?
  • I have added rule as below
context.accessToken[namespace + 'org'] = context.organization;
  • After generating access token I have decoded it and I couldn’t find org_id in json response