# `tartan sso`

_For tartan 0.9.36._

## `tartan sso check`

check an SSO provider's set-up before a trust rule uses it: signs you in there and reads the token

```
tartan sso check --issuer <url> --client-id <id> [--group <object id>]
```

**Role:** anyone · **Writes:** no · **Steps up:** never · **Local:** this CLI runs it, outside control's verb table

**Person acts:** the person signs in at their SSO provider in the browser

| Flag | Type | Required | What |
|---|---|---|---|
| `--client-id` | string | no | Tartan's app (client) id at the provider |
| `--group` | string | no | check: a group object id the tokens must carry (a trust rule's --value) |
| `--issuer` | string | no | check: the provider's issuer (Entra: https://login.microsoftonline.com/&lt;tenant id>/v2.0) |
| `--json` | bool | no | JSON output (always) |
| `--profile` | string | no | check: take the issuer and client id from this profile's SSO |
| `--sso-scope` | string | no | check: Tartan's API scope (default api://&lt;client id>/.default) |
| `--timeout` | duration | no | how long to wait for the browser |

## `tartan sso consent`

open the provider's admin consent for Tartan's app in your tenant

```
tartan sso consent --tenant <tenant id or domain> --client-id <id>
```

**Role:** anyone · **Writes:** no · **Steps up:** never · **Local:** this CLI runs it, outside control's verb table

**Person acts:** an administrator of the person's SSO tenant grants the consent in the browser

| Flag | Type | Required | What |
|---|---|---|---|
| `--client-id` | string | yes | Tartan's app (client) id at the provider |
| `--tenant` | string | yes | consent: your tenant id or a verified domain |
| `--json` | bool | no | JSON output (always) |
| `--timeout` | duration | no | how long to wait for the browser |
