common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1k stars 93 forks source link

browser set-sso #455

Closed wrighbr closed 12 months ago

wrighbr commented 1 year ago

Hi

I've noticed that when you use the command granted browser set-sso -b chrome it doesn't set the the config correctly in ~/.granted/config

see below

 $ granted browser set-sso -b chrome
[✔] Granted will default to using  for SSO flows.
 $ cat .granted/config 
DefaultBrowser = "CHROME"
CustomBrowserPath = "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
CustomSSOBrowserPath = ""
Ordering = ""
ExportCredentialSuffix = ""

[Keyring]
  Backend = "keychain"

Version: 0.14.0

shwethaumashanker commented 12 months ago

Hi @wrighbr, welcome to our community! You need to run granted browser set-sso which will give you the list of browsers you can choose from. We currently do not support adding the browser's name to the command. Hope this helps 😄

Screenshot 2023-09-01 at 3 08 41 PM