<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Idp link event not firing - am I doing something wrong?]]></title><description><![CDATA[<p dir="auto">I am integrating 3rd party Azure AD idps using OIDC as per the instructions <a href="https://fusionauth.io/docs/v1/tech/identity-providers/openid-connect/azure-ad" rel="nofollow ugc">here</a>. I have elected to use the link on email strategy with a user that must exist in FusionAuth prior to linking. This works nicely and I can use the API to retrieve the link for a user when I've used Azure AD to authenticate at least once.</p>
<p dir="auto">I have also set up a webhook for the <code>user.identity-provider.link</code> event. This works well when tested using the button in the UI, but never seems to fire for the actual live event in the above scenario - my webhook is never called. Below are some screenshots of the webhook configuration. Perhaps someone could verify that I've not missed anything that would explain the absent event?</p>
<p dir="auto">Settings -&gt; Webhooks<br />
<img src="/community/forum/assets/uploads/files/1670861758883-webhook-config-1.png" alt="webhook-config-1.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1670861800474-webhook-config-2.png" alt="webhook-config-2.png" class=" img-fluid img-markdown" /> <img src="/community/forum/assets/uploads/files/1670861814570-webhook-config-3.png" alt="webhook-config-3.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Tenants -&gt; id -&gt; Webhooks<br />
<img src="/community/forum/assets/uploads/files/1670861877684-webhook-config-4.png" alt="webhook-config-4.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1670861907850-webhook-config-5.png" alt="webhook-config-5.png" class=" img-fluid img-markdown" /><br />
I'm not sure this last enablement is required given the global setting, but it doesn't seem to make any difference either way - on or off.</p>
<p dir="auto">My FusionAuth version is 1.40.2 running in Docker.</p>
<p dir="auto">Thanks in advance for any ideas.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2272/idp-link-event-not-firing-am-i-doing-something-wrong</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 00:54:41 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2272.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Dec 2022 16:24:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Idp link event not firing - am I doing something wrong? on Sat, 24 Dec 2022 13:44:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi Josh,</p>
<p dir="auto">Thanks for taking the time to reply. In the scenario outlined I perhaps didn't mention that the users I was expecting the webhook to fire for already existed in FusionAuth prior to Azure AD sign-in. Should I expect the event to trigger in that instance?</p>
<p dir="auto">Regards<br />
Stefan</p>
]]></description><link>https://fusionauth.io/community/forum/post/5786</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5786</guid><dc:creator><![CDATA[stefan 0]]></dc:creator><pubDate>Sat, 24 Dec 2022 13:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to Idp link event not firing - am I doing something wrong? on Sat, 24 Dec 2022 00:21:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2071">@stefan-0</a></p>
<p dir="auto">Thanks for the question -- I don't think that this will work in the way that you intend.</p>
<p dir="auto">I would have to test to be sure, but if FusionAuth cannot make the user (based on your chosen user provisioning policy), then this user will not be created and thus not linked, and therefore this event will not fire.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/events-webhooks/events/user-identity-provider-link" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/events-webhooks/events/user-identity-provider-link</a></p>
<p dir="auto">Depending on your desired outcome, it might be best to change your linking strategy (to create this user when linking) and then use <code>user.create</code> webhooks.  You could fail this transaction if certain requirements are not met (thus the user will not be created and linked).</p>
<p dir="auto">I hope this helps!</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/5784</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5784</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Sat, 24 Dec 2022 00:21:02 GMT</pubDate></item></channel></rss>