fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
MIT License
2.45k stars 118 forks source link

Authentication failed with CLI Command fern token #3867

Open vincebrechbuehl opened 2 weeks ago

vincebrechbuehl commented 2 weeks ago

Describe the bug

I want to use the Fern CLI inside of a VMWare with Ubuntu 22.04.

  1. I have setup my project and cloned the starter template how it was described in the Quickstart.
  2. When i try to generate a token with the debug option I get a error 'Failed to authenticate' for details look the the screenshot above.
  3. I have also tried 'fern login', which opens a Google Chrome browser, where I could login against Github with success but on the terminal I get the same error like with the previous step.

To reproduce

Steps to reproduce the behavior:

  1. Go to Terminal
  2. Run the command 'fern login' or 'fern token'
  3. See error

Expected behavior

Normally it should create a secret.

Screenshots

Screenshot 2024-06-18 124451

CLI Version