ealeksandrov/NodeAPI

When i hit API, it asks for username and password

deepikaadwani opened this issue · 3 comments

when i hit these api in postman it asks username and password http://localhost:1337/api/oauth/token grant_type=password client_id=android client_secret=SomeRandomCharsAndNumbers username=myapi password=abc1234

Please look in #3 for Postman instructions.

1.Same steps I have done but, result is error not found.

4c71af6f-b184-4962-acaa-a7043b1482c7

  1. In Authorization Oauth2.0, on generating token this error occur.

282c01fa-85d5-48ca-96ed-402f50df68ee

  1. config.json, I have made changes, while making request.

image

can u pls tell me complete details of Oauth2.0 in postman

Debug it in REPL. I can't really help much more, it depends on your setup, your DB, etc.
Have you ran node generateData.js? Have you verified that DB is generated correctly?