cli icon indicating copy to clipboard operation
cli copied to clipboard

cannot use cli with SSO accounts

Open hyperknot opened this issue 2 years ago • 2 comments

Preflight checklist

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

hyperknot avatar Jan 06 '23 12:01 hyperknot

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

CaptainStandby avatar Jan 06 '23 15:01 CaptainStandby

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?

hyperknot avatar Jan 06 '23 16:01 hyperknot

This is resolved now as the CLI now uses oauth2 to sign in via the browser!

aeneasr avatar Aug 23 '24 14:08 aeneasr