I have a project with no users. Only the owner. I ...
# ory-network
n
I have a project with no users. Only the owner. I have no auth clients configured on the project. Password authentication is enabled. I added a password to my account. I am unable to authenticate on ory-cli with username/password. I think it's trying to auth me against the wrong instance. I assume that. network configuration file would handle this. I can't find any documentation that addresses this problem. ORG_PROJECT_SLUG is defined.
m
Hello @narrow-rose-34824 You are using
ory auth
to authenticate your CLI session? You do not need to configure anything for that. This is how it looks for me:
n
I think something may be NQR with my accounts. I think I have 2 instances associated with my email stacie.clark@arcules.com. I am unable to auth using ory auth or using a react app that I built to demonstrate auth from a UI. I changed my password a few times and none of them worked. The project I'm trying to auth into has the slug: festive-hodgkin-3ncqyesu72
m
You can login to https://console.ory.sh/login without any problems though? You can have an arbitrary number of Ory Network projects / instances associated with your account.
n
I can get into the admin console though the login ui.
m
and if you use the same email and password in the Ory CLI using
ory auth
it does not work? What kind of error do you get?
n
I used sso to create my account. I cannot login using the username/password into the console. only my SSO
m
To use the Ory CLI you need to add a password to your account, you can currently only auth at the CLI with a password. See also this document: https://www.ory.sh/docs/guides/cli/cli-basics#accounts-with-social-sign-in
n
I added a password my account. Password auth is enabled for the project
m
So you added a passwort to your administrator account in the settings? (the account that you use to access to Ory Console) Can you login normally on https://console.ory.sh/login ? If yes, it should also work in the CLI If no, let me know what kind of error you get please
n
I changed it in the admin account. I cannot sign in using username/password to the console
you can understand why I'm confused about why it's not working.
m
Yea definitely, that is very strange. You get the visual confirmation that the password is added to your account like in the screencast here?
n
I'll try it and watch. I cannot remember from Friday 🙂
m
Please try it again 🙇 If that does not resolve it I will ask the backend team to take a look at your account…
n
It refreshed the page, but I got no "your changes have been saved" message. Let me do it again and see if there are any errors in the console
👍 1
Hi Vincent. I was not able to determine what the problem was in chrome. FYI, we use 1password extensions and I wonder if it's interfering with the flow. ANYWAY, I switched to firefox to add a password and got back the correct message. I am now able to login into the console with username/password
m
Hey @narrow-rose-34824 good to hear it works. The CLI works as well now? I am not sure about 1password, but I have no problems with other password manager extensions. Let me know if I can help with anything else.
n
yes. the cli works.
🙏 1
I still cannot login using the express app. I created an oauth client.
Ah. OK. I'm still struggling to understand the relationships between instance owners and projects. I invited a user to the project and they were able to get farther in the flow. I'm still struggling with getting the response back locally using the proxy. I'm sure I'll figure that out.