Basic authentication on web api- .net core 2.0

Hello James,
Currently I have the API set to use the token received after a user login in a client app and auth0 gives me back a token.
Now I am trying to change that and to test how this will work if for example through Postman I send credentials of user (user created and saved in auth0) and based on that he should give me back access to my API.