microbit-foundation / microbit-android

micro:bit official Android application code. The application is free to download from https://play.google.com/store/apps/details?id=com.samsung.microbit
Apache License 2.0
14 stars 10 forks source link

OAuth doesn't work for Google accounts in MakeCode on some version of Android #60

Open jaustin opened 5 months ago

jaustin commented 5 months ago

Describe the bug

https://github.com/microsoft/pxt-microbit/issues/5590

image

@microbit-matt-hillsdon can reproduce this.

martinwork commented 5 months ago

Seems to be Google policy to disallow in webviews. I don't understand why it works in the iOS app. https://developers.googleblog.com/2021/06/upcoming-security-changes-to-googles-oauth-2.0-authorization-endpoint.html

jaustin commented 5 months ago

I can also reproduce this for me on my Android 8.1 device even though it lets me get through the whole entering password flow etc. 403: disallowed_useragent

martinwork commented 5 months ago

Reported in support ticket https://support.microbit.org/helpdesk/tickets/74336 (private)

martinwork commented 5 months ago

Reported in support ticket https://support.microbit.org/helpdesk/tickets/74736 (private)

microbit-carlos commented 2 months ago

Reported from an iOS device via support on the 3rd of May, and in an in-person workshop on the 16th of July.

abchatra commented 2 months ago

What is the plan here? Are you using native webview in android? May be this link helps? https://developers.google.com/identity/android-credential-manager