❯ assume -c <MY_PROFILE_NAME>
If browser is not opened automatically, please open link:
https://device.sso.<REGION>/?user_code=<CODE>
Awaiting authentication in the browser...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102716644]
goroutine 1 [running]:
github.com/99designs/keyring.(*fileKeyring).unlock(0x14000523f50)
/Users/runner/go/pkg/mod/github.com/99designs/[email protected]/file.go:70 +0xa4
github.com/99designs/keyring.(*fileKeyring).Set(0x14000523f50, {{0x14000138510, 0x24}, {0x140000d3080, 0x522, 0x580}, {0x0, 0x0}, {0x0, 0x0}, ...})
/Users/runner/go/pkg/mod/github.com/99designs/[email protected]/file.go:139 +0x98
github.com/common-fate/granted/pkg/credstore.Store({0x14000138510, 0x24}, {0x102a35200, 0x14000523c20})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/credstore/credstore.go:35 +0xdc
github.com/common-fate/granted/pkg/cfaws.StoreSSOToken({0x14000138510, 0x24}, {{0x140002aa000, 0x4e4}, {0xc07f0821e6770008, 0x1a335582abcd, 0x102edb240}})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/secure_token_storage.go:32 +0x64
github.com/common-fate/granted/pkg/cfaws.(*CFSharedConfig).SSOLogin(0x140001741e0, {0x102accc70, 0x140001aa010})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/sso.go:61 +0x1ac
github.com/common-fate/granted/pkg/cfaws.(*CFSharedConfig).Assume(0x140001741e0, {0x102accc70, 0x140001aa010})
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/cfaws/profiles.go:190 +0x1d8
github.com/common-fate/granted/pkg/assume.AssumeCommand(0x140001a9ac0)
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/assume/assume.go:88 +0x610
github.com/common-fate/granted/pkg/updates.WithUpdateCheck.func1(0x140001a9ac0)
/Users/runner/work/granted-cli-build/granted-cli-build/granted/pkg/updates/updates.go:69 +0xc8
github.com/urfave/cli/v2.(*App).RunContext(0x140002b6820, {0x102accc70, 0x140001aa010}, {0x14000192180, 0x3, 0x3})
/Users/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:322 +0x6e8
github.com/urfave/cli/v2.(*App).Run(...)
/Users/runner/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:224
main.main()
/Users/runner/work/granted-cli-build/granted-cli-build/granted/cmd/assume/main.go:13 +0x60
❯ granted browser
Granted is using FIREFOX. To change this run `granted browser set`.