ngrok login (Google SSO)
Sign in to ngrok with a Google account and return the signed-in ngrok account. Returns at once when already signed in. Needs the paired browser, which holds the Google session. Pass email to pick an account; it fails by name when that account is not signed in to Google, when Google asks for a password, 2FA or passkey check (clear it once by hand, then re-run), or when the Google account has no ngrok account.
Input
email optionalGoogle account to pick in the chooser (e.g. [email protected]). Omit to use the first/only account row.
Output
url requiredloggedIn requiredaccount optionalFAQ
ngrok whoami (signed-in account)
Report which ngrok dashboard account this browser is signed in as: the email, numeric account id and plan (Free, Personal, Pro…). Fails with a signed-out error when the browser is not signed in to ngrok.
ngrok — get subscription
Read the signed-in ngrok account's subscription: current plan, billing interval, renewal date, the plan scheduled for the next period, the current billing period, and the credit balance with its original grant and expiry. Read-only; signed out is a clear error.
