Auth0 as an external provider

I am interested in doing the same, currently i am getting this error

“sub claim is missing”
Ideas?