> is there a way to integrate with the default browser on the host OS?
No. The only OS API for browsers is to launch a URL, but we need to control and observe the page flow, to know when the login finished, and we even need to get information from the page to continue the OAuth2 flow. Otherwise the whole process does not work.
Bug 1528136 Comment 112 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
> is there a way to integrate with the default browser on the host OS?
No. The only OS API for browsers is to launch a URL, it's "fire and forget", but we need to control and observe the page flow, to know when the login finished, and we even need to get information from the page to continue the OAuth2 flow. Otherwise the whole process does not work.