<@U04UQ68083H> I am running self hosted ory kratos...
# ory-copilot
p
@chilly-king-10285 I am running self hosted ory kratos instance. I have simillar to this
Copy code
code:
          enabled: true
      flows:
        error:
          ui_url: <http://localhost:4005/auth/error>

        settings:
          privileged_session_max_age: 15m
          ui_url: <http://localhost:4005/auth/settings>
          after:
            default_browser_return_url: <http://localhost:4010/admin>
configuration. The issue is that when the use goes to login and hits /admin and we use -> kratos-client-rust and it gives that the user is not authenticated. But we already changed the password. What could be the issue?
c
A message from kapa.ai
Based on the information provided in the extracts, there could be several reasons why the user is not authenticated even after changing the password. Here are a few possibilities: 1. Session Validation: Ensure that a valid Ory Session Token (for API-based flows) or Ory Session Cookie (for Browser-based flows) is being used. Initializing a Settings Flow requires a valid session [source](https://www.ory.sh/docs/kratos/self-service/flows/user-settings). 2. Same Browser: Make sure the entire self-service flow is being executed in the same browser from start to finish. Starting the flow in one browser and completing it in another won't work [source](https://www.ory.sh/docs/kratos/debug/troubleshooting). 3. Top-Level Domain: Ory Kratos and your UI must be hosted on the same top-level domain. You cannot host Ory Kratos and your UI on separate top-level domains [source](https://www.ory.sh/docs/kratos/self-service). 4. Configuration: Check your configuration files and ensure that all necessary values are set correctly. For instance, you need to set configuration values for
identity.default_schema_id
and
DSN
. You should also configure
selfservice.flows.*.ui_url
or else Kratos will use fallback URLs [source](https://www.ory.sh/docs/kratos/quickstart). If none of these solutions work, you might want to check the [Ory Kratos troubleshooting guide](https://www.ory.sh/docs/kratos/debug/troubleshooting) or open a discussion on the [Ory Kratos GitHub page](https://github.com/ory/kratos/discussions) for more help.