Open Closed

Need example how to implement ABP + External Angular APP using JWT tokens #6453


User avatar
0
viktor created
  • 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:

  1. Create new project (single-layer)

  2. 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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11