Hi @jeantuffier
Welcome to the Auth0 Community!
This is a great question and after doing some research, it appears that the flow you are trying to implement is not possible, as Google Blocks OAuth Requests Made Via Embedded Browsers. Even though that is an older blog post, I was also able to find the following resources that go over this general inquiry, with unfortunately the same outcome:
- Using webview to login on Android instead of browser;
- [UPDATE] Google Auth Flows and WebView2 · Issue #1647 · MicrosoftEdge/WebView2Feedback · GitHub
I hope that I understood your flow correctly and the above resources provide some information, albeit not the outcome that we hoped for. I would recommend that you submit a Feature Request on this matter, but since it appears to be inherently blocked by Google, any workaround would require the use of web browsers, which does not suit your use case.
Hope this provided some clarity!
Best regards,
Gerald