Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 31, 2022 05:42 pm GMT

Day-55 Training At Ryaz

  • Date:31/03/2022
  • Day:Thursday

Today, I started at about 10:40 am as I was successful to initialise the jwt tokens and I was to test it for authorisation of the user by using the bearer token. so, firstly I started with it and tested it and it was working after this the thing left was to test it with postman so after this I sent a token via post request and after this I copied the token and enabled the authorization and pasted with bearer in front of it and triggered the send button so, the text we receive it 'this is protected' and all the data that is declared as const is sent in the post request and after this I was to test without the token and I disabled the authorisation so, I triggered the send button and got as 'forbidden' so after this the jwt token were successfully implemented it seems to be like if user is known and having the unique token i.e entry pass he would able to acess the data and view it but if user is not registered and not known so, he/she would be forbidden for access. so, this way my day ended up and I was able to complete the jwt token.


Original Link: https://dev.to/mahin651/day-55-training-at-ryaz-4o03

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To