Share via

Add redirect URI for a web application

Pendale, Kiran (TSS) 0 Reputation points
2026-04-08T15:14:17.0933333+00:00

We intend to perform application registration using OAuth authentication in Entra. While configuring the redirect URI for a web application, we would like to confirm whether it is possible to add multiple redirect URIs simultaneously while using a single client secret.

Microsoft Security | Microsoft Graph
0 comments No comments

2 answers

Sort by: Most helpful
  1. Vasil Michev 125.9K Reputation points MVP Volunteer Moderator
    2026-04-08T15:43:17.0033333+00:00

    Yes, you can have multiple redirect URIs. However, they are not in any way related to any client secret/certificate/federated credential, if that's what you are asking (i.e. you cannot use the redirect URI to identify which credential was used, or vice versa).

    0 comments No comments

  2. Q&A Assist
    2026-04-08T15:14:32.9533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Yes. A single Microsoft Entra application (single client ID and client secret) can have multiple redirect URIs configured at the same time.

    For web applications, additional redirect URIs are added under the app registration’s Authentication settings. The same client secret is then used regardless of which of the configured redirect URIs is used during the OAuth flow. The redirect URI sent in the authorization request must exactly match one of the URIs registered for that app.

    The documentation explicitly notes that multiple reply/redirect URLs can be added for a single app registration:

    • Web apps can use --reply-urls to add one or more redirect URLs.
    • In the portal, additional redirect URIs can be added under AuthenticationRedirect URIs.
    • A single confidential client app (with one client secret) can have multiple redirect URIs.

    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.