Custom Tabs always opens links in the default browser and beats the purpose of using it for SSO providers. My enterprise has a browser application that can provide sso functionality but when the other native applications open up the sso url in custom tabs it always opens up in the default browser. Is there a way to get the "open with" prompt when opening the custom tabs?
From Android 12 it is not even possible to clear the default browsers and one always has to be selected.
I am aware of the bindCustomTabsService functionality but it requires the package name to be hard coded, which does not makes sense to me since this is a third party app and it might use many idp's for many enterprises so hardcoding the package name for my enterprise is not practical. Any guidance here is appreciated.