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
- Host: GitHub
- URL: https://github.com/ashutoshkushawaha/jwt_core2.0_authentication
- Owner: ashutoshkushawaha
- Created: 2018-04-27T06:04:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-27T06:19:41.000Z (about 8 years ago)
- Last Synced: 2025-03-30T23:15:50.373Z (about 1 year ago)
- Topics: asp-net-core, core2, jwt-authentication, jwt-bearer-tokens, jwt-middleware, jwt-token, sqlserver
- Language: C#
- Size: 535 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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