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 v9.1.0-preview. Updated on November 01, 2024, 05:35