ory / cli

Create bulk action scripts, automate your tasks, manage your projects, and seamlessly interact with the Ory Network using the Ory command line interface (CLI).
https://www.ory.sh/cli?utm_source=github&utm_medium=banner&utm_campaign=cli
Apache License 2.0
43 stars 22 forks source link

ory auth times out on Windows #372

Closed jasonnutter closed 1 week ago

jasonnutter commented 2 weeks ago

Preflight checklist

Ory Network Project

No response

Describe the bug

After installing the ory CLI on Windows, ory auth returns Error: failed to authenticate, please try again: context deadline exceeded after completing authentication the opened browser in a reasonable amount of time.

Reproducing the bug

  1. Install ory CLI via scoop: https://www.ory.sh/docs/guides/cli/installation#windows
  2. Run ory auth in new Powershell via Windows Terminal.
  3. In the opened browser window (in my case, in Edge), complete authentication (I tested with both Google SSO and my account password) in a reasonable amount of time.
  4. Observe success message in the browser window.
  5. Return to the CLI to see Error: failed to authenticate, please try again: context deadline exceeded.

Relevant log output

No response

Relevant configuration

No response

Version

Version: v1.0.0-alpha.1 Git Hash: 17c744dc094f16b7d23c9c4c3b33c1a489458500 Build Time: 2024-07-29T13:43:11Z

On which operating system are you observing this issue?

Windows

In which environment are you deploying?

None

Additional Context

No response

zepatrik commented 1 week ago

This should be resolved with the v1.0.0-alpha.2 release. Can you confirm?

jasonnutter commented 1 week ago

Yes, works now. Thanks!