cli
cli copied to clipboard
cannot use cli with SSO accounts
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Network project.
- [X] I have joined the Ory Community Slack.
- [X] I am signed up to the Ory Security Patch Newsletter.
Describe the bug
I signed up for Ory Network using Google sign-in. I cannot use ory auth, as it asks for password.
Reproducing the bug
Make an Ory account using Google sign-in. Try to use ory auth
Relevant log output
No response
Relevant configuration
No response
Version
Version: v0.1.48
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Other
Additional Context
No response
As a workaround you can log into the Ory Console and create a password to be used with the CLI. Please have a look at the documentation: https://www.ory.sh/docs/guides/cli/cli-basics#accounts-with-social-sign-in
Thanks, it's good to know it's documented. I did it. But at this point my account is a non-SSO account, or a hybrid or kind of a strange one. I mean I can log in with just username and password, so Google was just used for email verification like this?
This is resolved now as the CLI now uses oauth2 to sign in via the browser!