Custom UI on iOS with loginSocial not working

Hi, I’ve been trying to do a facebook login with a custom interface using:

Auth0.authentication().loginSocial(token: “test”, connection: “facebook”, scope: “”, parameters: :]).start { (credentials) in

But all I get is this message:
Grant type ‘’ not allowed for the client.
I’ve seen that we can’t allow this grant type anymore. So what can I do??
If anybody has any idea, I’ll take it!