Username/Password authentication preventing backend from retrieving email even if scope includes email

Hi, I’m integrating auth0 with my app, so far I have successfully integrated the web flow without problems, I’m using a nodejs app as backend and I’m able to exchange the accesToken from the credentials with my backend to get my app’s jwt and when doing so I’m able to get the email when creating the user reference in my own database, the problem is that I don’t want to use web authentication, so I’m using the Auth0.authentication().login() in which what I’m setting the scope as openId profile email but if I try to exchange that accesToken with my backend it doesn’t seem to find the profile and email information, not sure what I’m doing wrong or why not using webAuth the scope doesn’t work.
I hope someone can point me in the right direction, thanks in advance.

  • Which SDK this is regarding:
    Auth0.swift
  • SDK Version:
    1.30.1
  • Platform Version:
    iOS 14