CodeWithHarry / iNotebook-React

INotebook is a React Application for managing personal notes on the cloud
343 stars 193 forks source link

Loggin not Working without adding token in the header #45

Open ashisingh21 opened 1 year ago

ashisingh21 commented 1 year ago

When trying to log in, It shows "Invalid Token" as the error. But when I tried with adding token (hard coded) in the header it worked. But how do I make it work? image image

Sahil1517 commented 1 year ago

sorry for late reply. i you have not use content type application.json in header. (try to do this)

On Wed, Feb 15, 2023 at 1:12 PM Ashi Singh @.***> wrote:

When trying to log in, It shows "Invalid Token" as the error. But when I tried with adding token (hard coded) in the header it worked. But how do I make it work? [image: image] https://user-images.githubusercontent.com/118272917/218963666-579e01a5-7b74-4568-926f-a546cf225627.png [image: image] https://user-images.githubusercontent.com/118272917/218963741-aea9b340-c165-44b6-b162-c444b4225e7e.png

— Reply to this email directly, view it on GitHub https://github.com/CodeWithHarry/iNotebook-React/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVQRZNWXBNIEKCIH5M7UCLWXSCHTANCNFSM6AAAAAAU4P3LQE . You are receiving this because you are subscribed to this thread.Message ID: @.***>