Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Edge Support #1028

Open
vicpinm opened this issue Dec 4, 2023 · 3 comments
Open

Microsoft Edge Support #1028

vicpinm opened this issue Dec 4, 2023 · 3 comments
Labels

Comments

@vicpinm
Copy link

vicpinm commented Dec 4, 2023

Custom Tabs is supported my Microsoft Edge on Android. But when using that browser and launching a login intent, it looks like the browser is not supported as a toast appears with the message: "There is no supported browser installed on this device".

Is Microsoft Edge supported?

Thanks in advance.

@HesamKamalan
Copy link

Is it the default Browser on your device?
I have seen some issues from my users and I ask them to change their default Browser to other than the current one. It fixes their login issue. I am not sure what is the problem exactly!

@vicpinm
Copy link
Author

vicpinm commented Dec 14, 2023

Hi, yes, despite setting edge as the default browser in the device, I see the toast with the message described above: "There is no supported browser installed on this device".

@Hesamedin
Copy link

Have you set setBrowserMatcher?

If not do it this way. It works for me and I can use Microsoft Edge by this setting.

val builder = AppAuthConfiguration.Builder()
builder.setBrowserMatcher(BrowserAllowList(AnyBrowserMatcher.INSTANCE))
configuration.let {
    builder.setConnectionBuilder(it.connectionBuilder)
}
return AuthorizationService(context, builder.build())

I have installed five Browsers, Chrome, Edge, Firefox, Opera and Samsung Internet.
I set one of them as the default Browser.
Except when I choose Opera as the default Browser, the proper browser will be used. I have no idea why but Chrome is being used when I set Opera as my default Browser. If I disable Chrome then Samsung Internet will be used instead. Probably it's because Opera does not use Custom Tab, as mentioned here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants