Hi! We're using Ory Network (not self-hosting) and...
# ory-network
t
Hi! We're using Ory Network (not self-hosting) and working through the Password migration using a web hook docs. The webhook is described for selfservice, but what about Ory Network? Presumably this is done via creating an action in Actions & Webhooks? I guessed: Flow=Login Execution=After Method=Password But my user is still seeing "This account does not exist or has no login method configured."
e
Are you still creating the user first? This still requires the user to be created, just without a credential.
t
Yes, still creating first w/
Copy code
"credentials": {
    "password": {
      "config": {
        "hashed_password": "",
        "use_password_migration_hook": true
      }
    }
  }
I'm wondering if the issue is there doesn't seem to be a way to create a
migrate_hook
?
e
Ah you need to do this with the Ory CLI
t
Thanks! For anyone else that runs across this...
Copy code
ory patch identity-config --project XXX \
  --add '/selfservice/methods/password/config/migrate_hook={"enabled":true,"config":{"url":"https://XXX","auth":{"type":"api_key","config":{"name":"Authorization","value":"XXX","in":"header"}}}}'
I'm sure its on your roadmap somewhere, but would be great to edit these via web UI. Or at least include a note in the docs about self-hosted vs Ory Network.
👍 1
e
Agreed! I will make the note internally!
m
Added something to the docs for now.