- ABP Framework version: v8.0.1
- UI Type: Angular
- Database System: EF Core (SQLite)
- Auth Server Separated (for Angular): no
I can not find any sample/example how to add JWT authentication and authorization to be used. We need to create separate endpoints to be used with JWT, so external App will be able to login using JWT tokens and get data from specific endpoints.
We will create new entities using abp suite and will add authorization so it could be used with jwt. tokens.
Scenario:
Create new project (single-layer)
Add new entities
External Angular/React App should be able to login using user/pass and get JWT token. Login page is part of App. External Angular/React App should be able to get data from entities using jwt token.
May you provide any example how to implement jwt functionality with ABP commercial (team) license?
1 Answer(s)
-
0
hi
There are no restrictions on abp, you can refer to it.
https://medium.com/@vndpal/how-to-implement-jwt-token-authentication-in-net-core-6-ab7f48470f5c https://www.c-sharpcorner.com/article/jwt-json-web-token-authentication-in-asp-net-core/ https://www.youtube.com/watch?v=mgeuh8k3I4g