An open API service indexing awesome lists of open source software.

https://github.com/ashutoshkushawaha/jwt_core2.0_authentication

Asp.NET Core 2.0 WebApi JWT Authentication with Identity & SqlServer
https://github.com/ashutoshkushawaha/jwt_core2.0_authentication

asp-net-core core2 jwt-authentication jwt-bearer-tokens jwt-middleware jwt-token sqlserver

Last synced: about 2 months ago
JSON representation

Asp.NET Core 2.0 WebApi JWT Authentication with Identity & SqlServer

Awesome Lists containing this project

README

          

# JWT_Core2.0_Authentication
1.Asp.NET Core 2.0 WebApi JWT Authentication with Identity & SqlServer

2.Download this project change the database connection string in appsettings.json file.
then create database from package manger console using command of code first.
3. create one user from register menu of dashboard.
4. use postman to test jwt core 2.0 token authentication.
5. http://localhost:44304/api/Auth/Token call for token with userName jai and password jai with basic token authorizatin from postman.
5. take a token and use bearer + token to call http://localhost:44304/api/Auth/GetUser
you will get string list.

Thank you,

if you get any problem you can contact me at ashutosh.kushawaha2@gmail.com