Read auth0 roles and groups from app_metadata

I think I found the solution for selecting the group array. The following line will select all groups that are found in the auth0 app_metadata json.

groups_attribute_path = "https://<domain>/groups"[*]

For some reason this solution doesn’t work for roles so I fixed that with the following line:

"https://<domain>/role" == 'admin' && 'Admin' || 'Viewer'