feat: Support workspace accounts with basic device management
Is there possibility to merge following PR with ReVanced/GmsCore please? https://github.com/microg/GmsCore/pull/2296
I'm trying to use my Workspace account in both Vanced and ReVanced for many years and last year microg/gmsCore finally solved this issue. Unfortunately I can't use microg/gmsCore on non-rooted stock Android, so I need to use ReVanced GmsCore.
Thank you.
Hi Brother I'm not able to login to my Google account using this lattest version of micro g even i off the play protection but nothing happens give me solution
. I just stick on this page where this add account option comes after that nothing happens
@SahilSharmaBhardwaj if it's a corporate account it won't work.
Also see https://github.com/ReVanced/GmsCore/issues/183#issuecomment-2708684451
If all that fails, then you may need to make a new Google account. If you need further help visit the Discord or Reddit link found on http://ReVanced.app (GitHub is not for troubleshooting).
Not it's not any corporate account it's my personal account and I forgot to mention if I use any older version of micro g it's worka good but thats not supported by Youtube revance
Please make MicroG revanced for Android 15 as it doesn't supports it currently.
MicroG works with Android 15/16.
Yea i just unhide microG from settings and resigned in and now it's working perfectly fine.
Please 🥺 back to me
Good
Uioo
Ydykskysjtsyl
This is a blocker for me as well, so I had a go at bringing the Revanced fork up-to-date with GMS Core. I got it building, but the changes to fix device management add a new scope, CRYPTAUTH.
I think it might be an internal / restricted scope, as the OAuth request is rejected when it's included:
08-10 09:24:06.625 30669 30944 W GmsAuthManagerSvc: org.microg.gms.common.NotOkayException: Error=INVALID_SCOPE
08-10 09:24:06.625 30669 30944 W GmsAuthManagerSvc: LoggableAuthErrorMessage=INVALID_SCOPE
08-10 09:24:06.625 30669 30944 W GmsAuthManagerSvc: at org.microg.gms.common.HttpFormClient.request(HttpFormClient.java:96)
08-10 09:24:06.625 30669 30944 W GmsAuthManagerSvc: at org.microg.gms.auth.AuthRequest.getResponse(AuthRequest.java:257)
08-10 09:24:06.625 30669 30944 W GmsAuthManagerSvc: at org.microg.gms.auth.AuthManager.requestAuth(AuthManager.java:360)
I'm not exactly an android dev, so I could have diagnosed this wrong, but it isn't looking like a simple fix.
Did you merge upstream gmscore?
I rebased your changes on top of the latest upstream commit, and then hacked it together just enough to build again over here
https://github.com/ReVanced/GmsCore/tree/upstream-main-update
there is a branch that is a little ahead of main so maybe give that a shot as a base
Gave that one a shot, and merged in upstream just until this commit: 36fedfaf97b6ec7cb4347ce3eb4a3e4dbc95c3f1 (to include the workspace account fix). Quite a bit easier than merging everything in, but still the same result.
I'm still pretty sure it's the CRYPTAUTH scope that's the issue; the only other reference to it is some ChromeOS source code.
Looking at the logs, more things are working, but I've still got the same error in the logs. In terms of UI, the original ReVanced version simply gave the "No Network Connection" error inside of YouTube; now it just infinitely loads.
For a baseline, I made a throwaway Gmail account, which worked perfectly, so nothing else is stopping the new updated version from working.
It would be cool if ReVanced/GmsCore supported Google Workspace accounts. But as temporary solution, if one have access to workspace admin panel, try next setting:
- Devices / Mobile and endpoints / Universal Settings / General:
- Turn off mobile management (Unmanaged).
- Security / Less Secure Apps:
- Allow users to manage their access to less secure apps
It would be cool if ReVanced/GmsCore supported Google Workspace accounts. But as temporary solution, if one have access to workspace admin panel, try next setting:
- Devices / Mobile and endpoints / Universal Settings / General:
- Turn off mobile management (Unmanaged).
- Security / Less Secure Apps:
- Allow users to manage their access to less secure apps
Hello,
Thank you for ideas. I tried this already before I opening this Issue, doesn't help, same error.
I think the only solution could be merging the changes done in upstream gmscore.
Thank you for ideas. I tried this already before I opening this Issue, doesn't help, same error.
Sad to hear that. I looked for the solution for years too - I have own domain on Google and need non-root version too for one account. I found this thread, and I found pretty old solution with Workspace Admin Settings after. Tried it - worked for me, just now. I have 2S verification off for now too, switched it off some time ago, struggling to login with GmsCore. Will try to switch it on after successful login.
But I will definitely follow this topic. It would be great to have a normal "native" solution without lowering the workspace security level.
I wonder when this would get upstreamed since the latest version is 3.7 and support's work account's and play integrity in case Google goes more locked down
Vari good
It would be cool if ReVanced/GmsCore supported Google Workspace accounts. But as temporary solution, if one have access to workspace admin panel, try next setting:
- Devices / Mobile and endpoints / Universal Settings / General:
- Turn off mobile management (Unmanaged).
- Security / Less Secure Apps:
- Allow users to manage their access to less secure apps
Turning off mobile management worked for me (before it was just showing "Please check your network... Tap to retry"), thank you so much!
Strange, this never worked for me.
I even trying turning on / off again for both unmanaged and less secure apps. I still get "Please check your network" when signing in via MicroG Revanced.
To be more specific, my issue was with YouTube ReVanced, are you running into this issue in a different place?
To be more specific, my issue was with YouTube ReVanced, are you running into this issue in a different place?
No, only using Youtube ReVanced. Maybe it's because I'm using 2FA on my Google account, are you?
No, only using Youtube ReVanced. Maybe it's because I'm using 2FA on my Google account, are you?
Try temporarily disabling 2FA. When I fixed the problem for me, I had 2FA disabled. If you can log in, try enabling 2FA then. And I saw an advice somewhere to switch the 2FA off before using ReVanced GmsCore.
Very good
Try temporarily disabling 2FA. When I fixed the problem for me, I had 2FA disabled. If you can log in, try enabling 2FA then. And I saw an advice somewhere to switch the 2FA off before using ReVanced GmsCore.
just want to note I was able to sign in with 2FA enabled (after turning off mobile management). Choose 'try another way' and select use code then follow the instructions in an external browser