Documentation
¶
Overview ¶
Command signinprobe signs in through auth.Authenticate on a phone (#1042): Sign in with Apple and Google on iOS, Google through Credential Manager on Android. Each attempt prints one line with what Authenticate verified, or that it was cancelled or failed:
signinprobe provider=apple ok iss=https://appleid.apple.com aud=… nonce=match sub=… email=a***@example.com code=yes signinprobe provider=google cancelled
and, on success, the raw ID token, so it can be checked again off the device against the provider's published keys:
signinprobe idtoken provider=apple eyJ…
The token is a credential for about an hour: keep it to the machine the device is attached to.
The client IDs below are the probe's own, from the owner's Google Cloud project; they are public identifiers, not secrets. The Apple audience is the app's bundle ID, com.trendvidia.signinprobe.
Packaging:
- iOS: `bellui package --target ios --app-id com.trendvidia.signinprobe`. ios/Entitlements.plist carries the Sign in with Apple entitlement.
- Android: run ./fetch-libs.sh first, then `bellui package --target android/arm64 --app-id com.trendvidia.signinprobe`.
It quits by itself after fifteen minutes.