Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui: Open Cozy TOS in external browser (#2222)
If the user decides to read our TOS during the on-boarding process, opening them in the on-boarding window will prevent them to finish the process as there is no way to go back to the OAuth dance. Besides, these TOS are written in a PDF file rather than an HTML page and does not seem to be readable within the OAuth webview. To make sure the user can read the TOS and continue the on-boarding process, we'll intercept navigation to PDF files and open the given URLs in the external browser.
- Loading branch information