Strapi v3.0.6: Unable to Create JWT Token

Hi there,

I am using Strapi v3.0.6 and attempting to create a JWT token. The authenticated user is created under the Users section. However, the API call is returning an error as shown in the screenshot. I am unsure if the endpoint I am using is incorrect.

I have tried using the endpoint, but it resulted in a 404 error.

Can anyone help me identify the issue?

Any assistance would be greatly appreciated.

This topic has been created from a Discord post (1247880600027664477) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

question, why are you passing the username and password as headers?
I am not familiar with Strapi v3 but surely it should be a json object in the request body.

<@789522672098607115> Thank you. It helped.