manifest icon indicating copy to clipboard operation
manifest copied to clipboard

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

Open ismaelguerrib opened this issue 1 year ago • 1 comments

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', '[email protected]', 'case' );

ismaelguerrib avatar Feb 01 '24 10:02 ismaelguerrib

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

github-actions[bot] avatar May 12 '24 02:05 github-actions[bot]