Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Any suggestion to receive external notifications via webhook #5001


User avatar
0
XugoWebTeam created

Hi Team,

Is there any way to receive external notifications via webhook on the server side? How can I get pass the authorization and receive the data?

Thanks


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    Hi,

    You have 2 options;

    1- Create a user in AspNet Zero project for WebHook client. And authenticate it via ExternalAuthentication. When authentication is successful make request to AspNet Zero.

    2- [RECOMMENDED] If you don't want to authenticate the user (as some 3rd party web apps cannot authenticate to your system) So create an AbpController or ApplicationService with anonymous access. You can disable authorization for a method/class by adding AbpAllowAnonymousattribute to application services.