# Web Redirect URL Configuration

1. Go to Azure Portal and Locate Your App Registration
   * Log in to the [Azure Portal](https://portal.azure.com/).
   * Navigate to Azure Active Directory.
   * Click on App registrations.
   * Select the application that you want to configure (or create a new registration if you haven’t done so already).
2. Add a Web Redirect URL
   * Once inside the app registration, go to the Authentication section on the left-hand menu.
   * Under the Redirect URIs section, click Add a platform.
   * Select Web as the platform type
   * Enter your Redirect URL in the Redirect URIs field.
   * This URL should match the address where your application will receive responses from the Azure authentication service.  For Example:

> <https://yourappdomain.com/auth-response>

* Click Configure to save the web platform.

3. Review the Redirect URL Format.  The Redirect URL must meet the following requirements:
   * It should start with https\:// (for web apps).
   * Localhost URLs are allowed for testing (<https://localhost:1234>), but if your app is intended for production use, make sure it’s set to a secure, valid URL.
4. Save and Verify
   * Click Save to finalize your changes.
   * Verify that the Redirect URL appears correctly in the Authentication section.
5. Check for Multiple Redirect URIs (If Applicable)

   * If your application uses multiple environments (e.g., development, testing, production), you can specify multiple redirect URIs by clicking Add URI in the Redirect URIs section.
   * Each URL should point to the corresponding environment (e.g., <https://dev.yourapp.com/auth>, <https://test.yourapp.com/auth>, <https://yourapp.com/auth>).

   Example of a Configured Redirect URI in App Registration:

> <https://myapp.com/signin-oidc>
