Skip to content

Authenticate with password #11

Description

@hahn-kev

There's already an api for this but the password validation still needs to be implemented.
In order to support this we need to determine the PHP Hash function that is used and use the same one in dotnet.

It looks like this is where the password is hashed in PHP
https://github.com/sillsdev/web-languageforge/blob/develop/src/Api/Model/Shared/UserModelWithPassword.php

It looks like we use BCrypt with a cost of 7. This should be a suitable replacement in dotnet but has not been tested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions