Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ismaelguerrib opened this issue Feb 1, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working stale

Comments

@ismaelguerrib
Copy link
Collaborator

ismaelguerrib commented Feb 1, 2024

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' );

@ismaelguerrib ismaelguerrib added the bug Something isn't working label Feb 1, 2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants