6 references to WithRedirectUris
Aspire.Hosting.Azure.EntraId (1)
EntraIdResourceExtensions.cs (1)
1498IResourceBuilder<ParameterResource> host when callbackPaths is { Length: > 0 } => builder.WithRedirectUris(host, callbackPaths[0], callbackPaths[1..]),
Aspire.Hosting.Azure.EntraId.Tests (5)
EntraIdProvisioningTests.cs (5)
946.WithRedirectUris(host, "/signin-oidc", "/signout-callback-oidc"); 961Assert.Throws<ArgumentException>("callbackPath", () => entra.WithRedirectUris(host, "signin-oidc")); 962Assert.Throws<ArgumentException>("callbackPath", () => entra.WithRedirectUris(host, "/signin-oidc", "other")); 1065entra.WithRedirectUris(host, "/signin-oidc").WithRedirectUris(existing); 1069entra.WithRedirectUris(existing).WithRedirectUris(host, "/signin-oidc");