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

Webhook reciever #10432


User avatar
0
zyrel.sermon created

is there any docs or guide on how to implement webhook reciever on anz 8.2?

thanks


7 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @zyrel.sermon

    You can follow that document to create a webhook receiver https://aspnetboilerplate.com/Pages/Documents/Webhook-System#check-signature

    You can also check https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Webhooks for more information.

    If you have any questions other than these documents, you can ask us again.

  • User Avatar
    0
    zyrel.sermon created

    Hi @musa.demir,

    sorry for the late response, i've already created a webhook receiver, thanks for the documenation that you've provided. is there any way for us to generate a webhook secret key on 8.2 and use it on the receiver?

  • User Avatar
    0
    musa.demir created

    Hi @zyrel.sermon

    Sorry but I am not sure that I got the question you asked. Webhook feature has been implemented in v8.2. After you create a subscription, webhook secret of subscription will be created automatically Go to details page Then click to View Webhook Secret button You can use shown webhook secret in any receiver client to ensure received data is crypted with that secret.

    If that is not your question, can you please explain it more detailed? What is the problem that you faced? And please share any error or related log part that you get.

  • User Avatar
    0
    zyrel.sermon created

    ok got it, so here's the issue, we've created a webhook endpoint but it lacks security,we need this enpoint continously working without logging in, we could add a authtoken on headers but what if the token expires? is there any additional set of security needed in implementing webhooks besides secret key? please advise, thanks.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @zyrel.sermon

    Using such a secret in webhooks is a standard way. Why do you think it will not be enough in your case ?

    Thanks,

  • User Avatar
    0
    zyrel.sermon created

    Hi @ismcagdas

    im having issues using the secret key created on the maintenance page i did follow the check signature method https://aspnetboilerplate.com/Pages/Documents/Webhook-System#check-signature but the signature doesn't match. Please advise.

    Thanks,

  • User Avatar
    0
    musa.demir created

    Hi @zyrel.sermon

    If you are using the exact same code we shared, your project should work. If the code you use is the same as the code we shared and your error persists, share your project with us and we'll examine it. You can send it to [email protected]