diff --git a/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs b/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs
index 8d7e8a6b..9ab01e03 100644
--- a/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs
+++ b/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs
@@ -172,6 +172,36 @@ public sealed partial class OpenIddictClientWebIntegrationBuilder
return Configure(options => options.ClientSecret = secret);
}
+ ///
+ /// Sets the post-logout redirection URI, if applicable.
+ ///
+ /// The post-logout redirection URI.
+ /// The instance.
+ public {{ provider.name }} SetPostLogoutRedirectUri(Uri uri)
+ {
+ if (uri is null)
+ {
+ throw new ArgumentNullException(nameof(uri));
+ }
+
+ return Configure(options => options.PostLogoutRedirectUri = uri);
+ }
+
+ ///
+ /// Sets the post-logout redirection URI, if applicable.
+ ///
+ /// The post-logout redirection URI.
+ /// The instance.
+ public {{ provider.name }} SetPostLogoutRedirectUri([StringSyntax(StringSyntaxAttribute.Uri)] string uri)
+ {
+ if (string.IsNullOrEmpty(uri))
+ {
+ throw new ArgumentException(SR.GetResourceString(SR.ID0143), nameof(uri));
+ }
+
+ return SetPostLogoutRedirectUri(new Uri(uri, UriKind.RelativeOrAbsolute));
+ }
+
///
/// Sets the redirection URI, if applicable.
///
@@ -539,6 +569,8 @@ public sealed partial class OpenIddictClientWebIntegrationConfiguration
ClientId = settings.ClientId,
ClientSecret = settings.ClientSecret,
+
+ PostLogoutRedirectUri = settings.PostLogoutRedirectUri,
RedirectUri = settings.RedirectUri,
Configuration = settings.Environment switch
@@ -805,6 +837,11 @@ public sealed partial class OpenIddictClientWebIntegrationOptions
///
public string? ClientSecret { get; set; }
+ ///
+ /// Gets or sets the post-logout redirect URI.
+ ///
+ public Uri? PostLogoutRedirectUri { get; set; }
+
///
/// Gets or sets the redirect URI.
///