github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_instances_client-oauth.md (about)

     1  ## cozy-stack instances client-oauth
     2  
     3  Register a new OAuth client
     4  
     5  ### Synopsis
     6  
     7  It registers a new OAuth client and returns its client_id
     8  
     9  ```
    10  cozy-stack instances client-oauth <domain> <redirect_uri> <client_name> <software_id> [flags]
    11  ```
    12  
    13  ### Options
    14  
    15  ```
    16        --allow-login-scope               Allow login scope
    17    -h, --help                            help for client-oauth
    18        --json                            Output more informations in JSON format
    19        --onboarding-app string           Specify an OnboardingApp
    20        --onboarding-permissions string   Specify an OnboardingPermissions
    21        --onboarding-secret string        Specify an OnboardingSecret
    22        --onboarding-state string         Specify an OnboardingState
    23  ```
    24  
    25  ### Options inherited from parent commands
    26  
    27  ```
    28        --admin-host string   administration server host (default "localhost")
    29        --admin-port int      administration server port (default 6060)
    30    -c, --config string       configuration file (default "$HOME/.cozy.yaml")
    31        --host string         server host (default "localhost")
    32    -p, --port int            server port (default 8080)
    33  ```
    34  
    35  ### SEE ALSO
    36  
    37  * [cozy-stack instances](cozy-stack_instances.md)	 - Manage instances of a stack
    38