Open Closed

How to release the web api to third party #509


User avatar
0
Leaf created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.2.1
  • UI type: Angular / MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi,

In MVC not tiered project, how to release the web api to third party to consume ?

Thank you.


5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    MVC project also be used as API. You can run the project and nav to /swagger.

  • User Avatar
    0
    Leaf created

    Hi ,

    Thanks for your guide.

    I want to release some Web Api Services to others system to comsume, Is there any documentation or guide regarding Identity Server/Client setup ?

    Thank you.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    ABP uses standard IdentityServer, You just need to create a client then use the client to get access token.

    There are have two ways to create a client.

    1: You can create a client in the IdentityServerDataSeedContributor class

    1. You can create a client in the Identity Server UI

  • User Avatar
    0
    Leaf created

    Hi,

    Thanks for info.

    If want to test the Web Api in Postman, which Identity Server should setup ?

    Thank you.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    First, you need to use the token endpoint to get access_token.

    Second, use access_token in the request

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 09, 2025, 06:20