.Net Authentication Middleware JWT

Job ID: 35678170

Budget: €18 – €36 EUR

1.1 Please download the following Web Api project:
https://projectsnetapi.it/innoAPIauthenticator.rar

1.2 That project has an endpoint to create a token when successfully logged.
eg.:

Login:
testATtest.com
Test1!

1.3 Once logged, the token will be:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3RAdGVzdC5jb20iLCJQcml2YXRlIGluZm9ybWF0aW9uIjoiUGxlYXNlIGRvIE5PVCBzaGFyZSIsImlzQWRtaW4iOiIxIiwiZXhwIjoxNjcyODQ2NzM0fQ.OM-rBGf5yXM0z8mknS4hKbpotAOldJJwis6zt2oSq-8
(this is an example to testATtest.com user, but this token could be different if anyone else is also login)

1.4 On the same Web Api, there is an HTML content:
https://localhost:44350/securedata.html

1.5 The HTML content will show ONLY if there is an active TOKEN

1.6 Task
The HTML content https://localhost:44350/securedata.html should show only if the token is active and correct.
The token will come by POST as “token=token_value”
Use authentication middleware JWT to show or redirect the page https://localhost:44350/securedata.html
Related categories: .NET C# Programming ASP.NET