# ShinyProxy causes Azure to throw "No reply address provided." when using Azure as OIDC IDP

**URL:** <https://support.openanalytics.eu/t/shinyproxy-causes-azure-to-throw-no-reply-address-provided-when-using-azure-as-oidc-idp/3101>\
**Category:** ShinyProxy\
**Created:** [April 18, 2025, 7:22am UTC](https://support.openanalytics.eu/t/shinyproxy-causes-azure-to-throw-no-reply-address-provided-when-using-azure-as-oidc-idp/3101 "2025-04-18T07:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicklockhart-ff](https://support.openanalytics.eu/letter_avatar_proxy/v4/letter/n/9fc348/32.png) [@nicklockhart-ff](https://support.openanalytics.eu/u/nicklockhart-ff)\
**Post date:** [April 18, 2025, 7:22am UTC](https://support.openanalytics.eu/t/shinyproxy-causes-azure-to-throw-no-reply-address-provided-when-using-azure-as-oidc-idp/3101/1 "2025-04-18T07:22:10Z")

</div>

Hello all,

I’m trying to configure a ShinyProxy instance to use OIDC authentication, with Azure B2C as the IDP. I believe I have configured everything correctly, as per the [GitHub example](https://github.com/openanalytics/shinyproxy-config-examples/tree/master/11-openid-azure-b2c).

However, when I navigate to the ShinyProxy instance, I am correctly redirected to the Microsoft login screen, before being shown the following error:

```txt
AADSTS900971: No reply address provided.

```

From some initial searching, it appears that this means ShinyProxy is not providing a redirect URI to Azure. I _have_ configured a redirect URI on the Azure B2C side, but I have not configured a redirect URI in ShinyProxy’s `application.yml`.

Is this something I have missed in my configuration (on either Azure B2C or ShinyProxy), or is this an issue with how ShinyProxy and/or Azure B2C work?

---

<div class="post-metadata">

**Author:** ![tdekoninck](https://support.openanalytics.eu/user_avatar/support.openanalytics.eu/tdekoninck/32/1079_2.png) [@tdekoninck](https://support.openanalytics.eu/u/tdekoninck)\
**Post date:** [April 25, 2025, 7:57am UTC](https://support.openanalytics.eu/t/shinyproxy-causes-azure-to-throw-no-reply-address-provided-when-using-azure-as-oidc-idp/3101/2 "2025-04-25T07:57:56Z")

</div>

Hi, this Azure error usually indicates that the redirect URI sent by ShinyProxy does not match the URI configured in Azure. If you verified this is correct, the problem is usually that ShinyProxy sends a `http` redirect uri instead of a `https` uri. This can happen when ShinyProxy is unaware that it’s using HTTPS, e.g. when using a reverse proxy or loadbalancer. See [Troubleshooting | ShinyProxy](https://shinyproxy.io/documentation/troubleshooting/#invalid-redirect_uri) fore more information.

---

<div class="post-metadata">

**Author:** ![nicklockhart-ff](https://support.openanalytics.eu/letter_avatar_proxy/v4/letter/n/9fc348/32.png) [@nicklockhart-ff](https://support.openanalytics.eu/u/nicklockhart-ff)\
**Post date:** [April 25, 2025, 3:00pm UTC](https://support.openanalytics.eu/t/shinyproxy-causes-azure-to-throw-no-reply-address-provided-when-using-azure-as-oidc-idp/3101/3 "2025-04-25T15:00:56Z")

</div>

Hi - yes, I was running ShinyProxy behind a reverse proxy, but I had not told ShinyProxy to use the forward headers. Enabling this in the config and restarting ShinyProxy immediately fixed SSO, as the correct redirect URI (with `https`) is now being passed to Azure. Thanks!
