mnfst / manifest

A Whole Backend That Fits Into 1 YAML file. ⭐ to support the project !
https://manifest.build
MIT License
887 stars 51 forks source link

Login : API response is error 400 even though the body is correct #103

Closed ismaelguerrib closed 6 months ago

ismaelguerrib commented 10 months ago

Describe the bug

I want to login. I follow the doc. The validators don't accept my parameters even though they are correct. The API response is not appropriate.

To Reproduce Steps to reproduce the behavior:

  1. Follow the auth documentation.
  2. Create an authenticable entity.
  3. In the sdk use the login method.
  4. Use the entity slug, email and password.
  5. See error

Expected behavior I should at the best being connected. Or have an other api response. Here the validators seems to not send an appropriate response.

Screenshots Here the screens of the headers, the preview and the answer I get. Capture d’écran 2024-02-01 à 11 14 00 Capture d’écran 2024-02-01 à 11 14 07 Capture d’écran 2024-02-01 à 11 14 16

Code snippets

return await this.cs.login( 'national-contact-points', 'Keenan_Nolan92@yahoo.com', 'case' );

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 100 days with no activity.