Skip to content

Cozy stack instances refresh token oauth

cozy-stack instances refresh-token-oauth

Generate a new OAuth refresh token

cozy-stack instances refresh-token-oauth <domain> <clientid> <scopes> [flags]

Examples

$ cozy-stack instances refresh-token-oauth cozy.localhost:8080 727e677187a51d14ccd59cc0bd000a1d io.cozy.files io.cozy.jobs:POST:sendmail:worker

Options

  -h, --help   help for refresh-token-oauth

Options inherited from parent commands

      --admin-host string   administration server host (default "localhost")
      --admin-port int      administration server port (default 6060)
  -c, --config string       configuration file (default "$HOME/.cozy.yaml")
      --host string         server host (default "localhost")
  -p, --port int            server port (default 8080)

SEE ALSO