Skip to content

Get started

Sign in to grcHero

Sign in through your browser and choose the workspace your reviews belong to.

On this page

Sign in

The CLI never asks for your password. It shows a short code and opens your browser, where you finish the normal grcHero sign-in, including MFA. If you belong to more than one workspace, choose one with --organization and its name, slug or ID.

Terminal
grchero login
grchero login --organization acme
Output
Open https://auth.grchero.dev/... and enter code ABCD-EFGH.
Signed in to Acme.

Check where you are signed in

Terminal
grchero whoami
Output
Workspace: Acme
API: https://app.grchero.dev
Access: signed-in person
Default project: Payments platform

Sessions

A sign-in lasts until its access expires; then the CLI asks you to run grchero login again. grchero logout removes the saved sign-in from this machine. It does not sign you out of grcHero in the browser.

Your workspace's CLI page shows who has used the CLI recently and how they signed in.

Terminal
grchero logout

What each review sends

Every review and preview asks the selected workspace to authorize it. The request contains the CLI version, the workspace and a random request ID. It never contains source, file paths, hashes, findings or report content. Starting a review needs a role that can write (contributor, compliance manager, admin or owner); viewers and reviewers cannot start one.

Source installs and self-hosted deployments

An installed CLI already knows where to sign in. A source install, or a deployment of your own, passes its values instead. Flags win over GRCHERO_* variables, which win over built-in values.

Terminal
grchero login \
  --api-url https://app.example.com \
  --issuer https://auth.example.com \
  --client-id '<native device client ID>' \
  --audience '<grcHero project ID>'
grcHero CLI 0.7.3. Local checks, human review, verifiable evidence.