Skip to content

Commit

Permalink
chore: clarify 403 response in PW migration hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Feb 13, 2025
1 parent f6e7be0 commit 4d9823a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,10 @@ The following steps are necessary to set up password migration using a web hook:
After a successful response, the identity will be updated with the hashed password and the user will be logged in. The
password migration hook will not be called again for this identity.

Any other response will be treated as an invalid password, and the user will be notified that the password is incorrect.
If the password does not match, the webhook should return `403 Forbidden`, to indicate to the user that the password did not
match.

Any other response will be treated as an unexpected error, and the user will not be logged in.

### Social sign-in connections

Expand Down

0 comments on commit 4d9823a

Please sign in to comment.