Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmd/cloudx/oauth2/flows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ func NewPerformAuthorizationCode() *cobra.Command {
func NewPerformClientCredentials() *cobra.Command {
return wrapHydraCmd(hydra.NewPerformClientCredentialsCmd)
}

func NewPerformDeviceCode() *cobra.Command {
return wrapHydraCmd(hydra.NewPerformDeviceCodeCmd)
}
1 change: 1 addition & 0 deletions cmd/cloudx/perform.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func NewPerformCmd() *cobra.Command {
cmd.AddCommand(
oauth2.NewPerformAuthorizationCode(),
oauth2.NewPerformClientCredentials(),
oauth2.NewPerformDeviceCode(),
)

client.RegisterConfigFlag(cmd.PersistentFlags())
Expand Down
31 changes: 14 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/Masterminds/semver/v3 v3.5.0
github.com/bradleyjkemp/cupaloy/v2 v2.8.0
github.com/evanphx/json-patch v5.9.0+incompatible
github.com/getkin/kin-openapi v0.131.0
github.com/getkin/kin-openapi v0.144.0
github.com/ghodss/yaml v1.0.0
github.com/go-jose/go-jose/v3 v3.0.5
github.com/gofrs/uuid v4.4.0+incompatible
Expand All @@ -21,11 +21,11 @@ require (
github.com/ory/graceful v0.2.0
github.com/ory/herodot v0.10.9-0.20260330111132-da75ef0fbc22
github.com/ory/hydra-client-go/v2 v2.4.0-alpha.1.0.20251107123905-f3d35665821b
github.com/ory/hydra/v2 v2.3.1-0.20260608173701-e93cfd611f53
github.com/ory/hydra/v2 v2.3.1-0.20260727152228-962ddb5de40a
github.com/ory/jsonschema/v3 v3.0.9-0.20250317235931-280c5fc7bf0e
github.com/ory/keto v0.14.1-0.20260609063042-5da3a68a58d9
github.com/ory/kratos v1.3.1-0.20260709105504-7b4ac2b73600
github.com/ory/x v0.0.730-0.20260708100811-e26a5b71beb3
github.com/ory/x v0.0.730-0.20260727152226-615c3d55f207
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
github.com/pkg/errors v0.9.1
github.com/rs/cors v1.11.1
Expand All @@ -37,7 +37,7 @@ require (
github.com/tidwall/sjson v1.2.5
github.com/urfave/negroni v1.0.0
golang.org/x/oauth2 v0.36.0
golang.org/x/text v0.38.0
golang.org/x/text v0.39.0
gopkg.in/yaml.v2 v2.4.0
)

Expand Down Expand Up @@ -142,12 +142,11 @@ require (
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.9.2 // indirect
github.com/jackc/pgx/v5 v5.10.0 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jaegertracing/jaeger-idl v0.9.0 // indirect
github.com/jmoiron/sqlx v1.4.0 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/knadh/koanf/maps v0.1.2 // indirect
github.com/knadh/koanf/parsers/json v1.0.0 // indirect
Expand All @@ -164,7 +163,6 @@ require (
github.com/lestrrat-go/option v1.0.1 // indirect
github.com/lib/pq v1.12.3 // indirect
github.com/magiconair/properties v1.8.9 // indirect
github.com/mailru/easyjson v0.9.2 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.22 // indirect
github.com/mattn/goveralls v0.0.12 // indirect
Expand All @@ -181,8 +179,8 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/nyaruka/phonenumbers v1.7.4 // indirect
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
github.com/oasdiff/yaml v0.1.1 // indirect
github.com/oasdiff/yaml3 v0.0.14 // indirect
github.com/oklog/ulid/v2 v2.1.1 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.1 // indirect
Expand All @@ -195,11 +193,10 @@ require (
github.com/ory/kratos-client-go v1.3.9-0.20251107123727-a6ddbd382e38 // indirect
github.com/ory/mail/v3 v3.0.1-0.20260416102637-e762925f059d // indirect
github.com/ory/nosurf v1.2.7 // indirect
github.com/ory/pop/v6 v6.4.2-0.20260507161217-89126558d369 // indirect
github.com/ory/pop/v6 v6.4.2-0.20260714091811-7f2223c43ab6 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/perimeterx/marshmallow v1.1.5 // indirect
github.com/peterhellberg/link v1.2.0 // indirect
github.com/philhofer/fwd v1.2.0 // indirect
github.com/pkg/profile v1.7.0 // indirect
Expand All @@ -214,6 +211,7 @@ require (
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/samber/lo v1.53.0 // indirect
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
github.com/sawadashota/encrypta v0.0.5 // indirect
github.com/seatgeek/logrus-gelf-formatter v0.0.0-20210414080842-5b05eb8ff761 // indirect
github.com/segmentio/backo-go v1.1.0 // indirect
Expand All @@ -236,7 +234,6 @@ require (
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
github.com/toqueteos/webbrowser v1.2.0 // indirect
github.com/twmb/murmur3 v1.1.8 // indirect
github.com/ugorji/go v1.1.4 // indirect
github.com/wI2L/jsondiff v0.7.1 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect
Expand Down Expand Up @@ -264,15 +261,15 @@ require (
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.53.0 // indirect
golang.org/x/exp v0.0.0-20260508232706-74f9aab9d74a // indirect
golang.org/x/mod v0.36.0 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/mod v0.37.0 // indirect
golang.org/x/net v0.56.0 // indirect
golang.org/x/sync v0.21.0 // indirect
golang.org/x/sys v0.46.0 // indirect
golang.org/x/telemetry v0.0.0-20260508192327-42602be52be6 // indirect
golang.org/x/tools v0.45.0 // indirect
golang.org/x/telemetry v0.0.0-20260625142307-59b4966ccb57 // indirect
golang.org/x/tools v0.47.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
google.golang.org/grpc v1.81.1 // indirect
google.golang.org/grpc v1.82.1 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
Loading
Loading