Open Closed

Logging in from a different project. #5445


User avatar
0
yunusemrecaglar created
  • ABP Framework version: v7.2.2
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Auth Server Separated (Angular): yes

Hello,

I have a project that is not built with ABP Framework, and I am trying to fetch data from another project that is built with ABP Framework. To achieve this, I need to implement user authentication. Could you provide information on how to obtain a token from the other project and how to make API calls using that token? Thank you.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can get access_token from AuthServer/IdentityServer and then carry the token to call the API.

  • User Avatar
    0
    yunusemrecaglar created

    Which Endpoint am I going to use?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This is related to OAuth2

    https://oauth.net/2/grant-types/password/

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