Each organization is served at its own host under the forge’s domain, such as acme.forge.example, and its people sign in through its own identity provider. Requires a platform administrator, connected to the operator organization’s host; another platform administrator approves the request unless you are the only one.
Usage
af create-organization [OPTIONS] --issuer <ISSUER> --client-id <CLIENT_ID> --first-administrator <FIRST_ADMINISTRATOR> <NAME>Arguments
-
<NAME>Organization name, used as the first label of its host name: a-z, 0-9 and -
Options
-
--issuer <ISSUER>OpenID Connect issuer that the organization’s people sign in through
-
--client-id <CLIENT_ID>The forge’s client ID at the issuer
-
--tenant <TENANT>Tenant claim, as
claim=value, for an issuer that many organizations shareOnly tokens with this claim and value are accepted: for example
hd=example.comfor Google, ortid=<tenant id>for Microsoft Entra ID. -
--second-factor <SECOND_FACTOR>amrvalues (RFC 8176) that show a person signed in with a second factor; any one is enoughDefault:
mfa -
--second-factor-by-policyDeclare that the identity provider requires a second factor for every sign-in
Use this for a provider whose tokens don’t say how a person signed in (no
amrclaim). -
--first-administrator <FIRST_ADMINISTRATOR>Verified email of the person who becomes the organization’s first administrator when they sign in
-
--reason <REASON>Reason for the request, recorded with it
Default:
""
Global options
Every af command also takes the global options.
Examples
af create-organization acme --issuer https://login.acme.example --client-id forge --first-administrator ada@acme.example