common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
955 stars 90 forks source link

`granted console` fails with code 400 #655

Closed chrnorm closed 1 month ago

chrnorm commented 1 month ago

Not sure exactly which release has introduced this but we have had a few reports of this issue:

❯ granted console
[✘] opening console failed with code 400
shwethaumashanker commented 1 month ago

Temporary workaround: Add DefaultExportAllEnvVar=true to your ~/.granted/config file. This config setting will export all environment variables by default when the credential_process is used; we suspect that this is the root cause of the error.

We are working on a permanent fix for this!

dpendolino-ibotta commented 1 month ago

@chrnorm I just started getting this error too and your workaround doesn't seem to have any effect for me. Was there anything else that was needed?

shwethaumashanker commented 1 month ago

@dpendolino-ibotta We’ve just released a fix for this in Granted v0.27.0! Can you please try upgrading to v0.27.0 and let us know if you are still seeing this issue

dpendolino-ibotta commented 1 month ago

@shwethaumashanker that did the trick, thanks!

shwethaumashanker commented 1 month ago

Fixed in Granted v0.27.0!