emdgroup / foundry-dev-tools

Foundry DevTools
https://emdgroup.github.io/foundry-dev-tools/
Apache License 2.0
115 stars 23 forks source link

[Bug]: When running the initial fdt info after entering the oauth settings, output is displayed before authorization code can be entered #60

Closed nicornk closed 3 months ago

nicornk commented 3 months ago

Issue checklist

Description of the bug

I tried to emulate what a new user would experience while setting up the oauth2 settings with a public client. When running fdt info after entering the config, the CLI does not nicely display the waiting step for the authorization code.

Steps to reproduce this bug.

  1. remove ~/.foundry/ folder
  2. Have config similar to this one:
[credentials]
domain = "stack.palantirfoundry.com"
token_provider.name = "oauth"

[credentials.token_provider.config]
client_id = "b1da15a..."
  1. Run fdt info

Log output

No response

Additional context

grafik

Operating System

MacOS

Your python version

Python v3.10.14