Identity providers
Configuring and verifying a Vibedata Identity Provider from a terminal. These commands apply to a delegated deployment only — one that signs users in.
This applies to a delegated deployment — one that signs users in. Give both commands its address with --studio-url: without one they target the installation on this machine, which a single-machine install never signs users in to. Pointed at an ambient deployment, both commands report that identity providers do not apply there and exit without attempting anything, which matches Org settings → Identity providers being hidden on such a deployment.
When doctor setup reports a missing identity provider and the deployment uses Microsoft Entra ID, idp script and idp add configure and verify it without a browser, aside from the one step only a person can complete:
vibedata idp script --kind entra_oidc --name "My Entra Provider" \
--studio-url https://vibedata.example.com > register-entra-app.shThis prints only the registration script — nothing else — so it is safe to redirect to a file. Review it, then run it yourself with your own az session:
bash register-entra-app.shThe script checks for an existing app registration first (so running it again is safe), creates one with Vibedata's callback URL already set as its redirect URI, creates a client secret, and writes a JSON credentials file. It names that file and reminds you to delete it once the next step succeeds. Configure and verify from it:
vibedata idp add --kind entra_oidc --name "My Entra Provider" \
--studio-url https://vibedata.example.com \
--credentials-file ./my-entra-provider.idp-credentials.jsonidp add reads the tenant ID, client ID, and client secret only from that file — never from a command-line flag. It then starts Vibedata's own verification and prints a sign-in link: completing it requires a person opening that link in a browser within the next several minutes, which idp add cannot do on your behalf. Once that sign-in completes, the command reports whether the provider activated, any warnings, and — on failure — exactly which check did not pass. If the window elapses before sign-in completes, the command says so and the provider it created is still saved — re-run idp add with the same credentials file to try again.
GitHub, Google Workspace, and Generic OIDC identity providers are configured through Org settings → Identity providers only; the terminal path above covers Microsoft Entra ID today.
Command reference
vibedata idp script
Generate the az script that registers the Entra app Studio needs.
Prints only the script to standard output, so it can be piped straight to a file. The script checks for an existing app first, creates one if needed with the correct callback URL, and writes a JSON credentials file. Run it yourself with your own az session, then run vibedata idp add with that file's path as --credentials-file.
vibedata idp script [OPTIONS]| Option | Default | What it does |
|---|---|---|
--kind TEXT | required | Identity Provider kind. Only 'entra_oidc' is supported today. |
--name TEXT | required | Display name for the new Identity Provider. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |
vibedata idp add
Configure and verify a Studio Identity Provider from idp script's output.
Reads the tenant ID, client ID, and client secret only from --credentials-file — never a command-line argument, never standard input. Run vibedata idp script first to produce that file.
Completing Studio's Test requires a person signing in at the IDP in a real browser. This command starts the Test and waits for the result; it cannot complete that sign-in itself.
vibedata idp add [OPTIONS]| Option | Default | What it does |
|---|---|---|
--kind TEXT | required | Identity Provider kind. Only 'entra_oidc' is supported today. |
--name TEXT | required | Display name for the Identity Provider. |
--credentials-file PATH | required | Path to the JSON file idp script's generated script wrote. |
--studio-url TEXT | — | Vibedata URL to target. Defaults to the local installation. |

