Auth0 Home Blog Docs

iOS Swift - Remove consent dialog social login with auth0



I am trying to use facebook third-party login with Auth0 in my app. Everytime I am trying to initiate a log in from the app and when I want it to open up the facebook app for login it first displays a dialog asking for user consent:

[App] wants to log in with “” This allows the app and website to share information about you

I would like to remove this dialog completely since the user consent page is also displayed in the facebook app when asking for consent. I have the setting in auth0 for “Allow skipping user consent” on for the API in the dashboard.

Any ideas on how to fix this?


That dialog is coming from iOS itself and is associated with this type of authentication flow; according to this issue in a library that enables OIDC/OAuth 2.0 authentication with compliant providers it is currently not possible to bypass that screen when using SFAuthenticationSession (the Auth0 service provides authentication using those protocols also).


@jmangelo can we change this message.


I don’t think so; it’s a system dialog and non-configurable based on what I know.


im seeing the same message in my app.
ive copied the code exactly from one of the iOS samples (03-User-Sessions)
and can confirm that this message does not show up in the sample project.
so it must be setting somewhere…