Skip to content

Add option to disable launching authentication url in custom tabs #805

@bennycao

Description

@bennycao

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

When using web browser to authenticate, some browsers such as Vivo Browser fail to execute a callback to the app and therefore authentication fails and user cannot sign in. This is an issue as it is a widely used browser in one of our app markets.
What we have discovered is if you open the authentication url in the standalone browser (using the hamburger open in external browser i.e NOT custom tabs, it is able to execute the callback and successfully authenticate.

We do not know if this is actually a Auth0 bug, but as all major browsers works, it may be a particular browser custom tabs issue.

Describe the ideal solution

As using the browser view allows the user to successfully authenticate, we propose that there could be a option which allows us to define a set of browser packages to NOT open the auth url in custom tabs.

e.g in BrowserPicker where you can define a list of disabledCustomTab packages. Much like where you are able to define allowedPackages using withAllowedPackages

Alternatives and current workarounds

Asking the user to change browsers isn't a ideal solution nor something we can control. Especially where users are not always highly tech literate.

Additional context

Vivo_Signin_Unsuccessful.webm
OpenExternal_Vivo_Signin_Successful.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature has been asked for or suggested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions