Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Use "custom tabs" functionality to use the default browser for OAuth flow #55

Merged
merged 4 commits into from
Oct 23, 2020

Conversation

jornane
Copy link
Member

@jornane jornane commented Oct 23, 2020

Android has a featured named "custom tabs", which allows supporting browsers to open a page within the app. This would give a better user experience in the OAuth flow, in part because we can re-use the users' session (doesn't need to login).

This might be a solution to #54 as well.

@jornane jornane added enhancement New feature or request android Android related labels Sep 30, 2020
@jornane jornane changed the title Use "custom tabs" functionality to use the default browser Use "custom tabs" functionality to use the default browser for OAuth flow Sep 30, 2020
@jornane
Copy link
Member Author

jornane commented Sep 30, 2020

If this would make #56 very easy, let's do that at the same time.

@jornane jornane added the apple iOS/MacOS related label Sep 30, 2020
@jornane jornane added this to the Phase II milestone Sep 30, 2020
@amachadogarcia amachadogarcia self-assigned this Oct 21, 2020
@CarlosFJ CarlosFJ assigned CarlosFJ and unassigned CarlosFJ Oct 21, 2020
@CarlosFJ
Copy link
Contributor

We have a technical limitation, because when open an external browser the url cannot be gotten and you cannot either add a listener for the redirections/navigations. So the only approach can be using the oauth2 plugin. Do you want us to spend time tomorrow seeing that approach or after seeing the custom tab with the Browser capacitor has it has less priority?

@jornane jornane marked this pull request as ready for review October 23, 2020 14:32
@jornane jornane merged commit 554464b into develop Oct 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
android Android related apple iOS/MacOS related enhancement New feature or request
Projects
None yet
3 participants