From 00d78d085b64062f15fce21b5750712ef8c91425 Mon Sep 17 00:00:00 2001 From: guardrex <1622880+guardrex@users.noreply.github.com> Date: Thu, 19 Dec 2024 07:47:23 -0500 Subject: [PATCH] Callback path comment updates --- 8.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs | 11 +---------- 8.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs | 11 +---------- 9.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs | 11 +---------- 9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs | 11 +---------- 4 files changed, 4 insertions(+), 40 deletions(-) diff --git a/8.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs b/8.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs index aaea0c57..d46a597a 100644 --- a/8.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs +++ b/8.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs @@ -39,16 +39,7 @@ // ........................................................................ // The following paths must match the redirect and post logout redirect // paths configured when registering the application with the OIDC provider. - // For Microsoft Entra ID, this is accomplished through the "Authentication" - // blade of the application's registration in the Azure portal. Both the - // signin and signout paths must be registered as Redirect URIs. The default - // values are "/signin-oidc" and "/signout-callback-oidc". - // Microsoft Identity currently only redirects back to the - // SignedOutCallbackPath if authority is - // https://login.microsoftonline.com/{TENANT ID}/v2.0/ as it is above. - // You can use the "common" authority instead, and logout redirects back to - // the Blazor app. For more information, see - // https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/5783 + // The default values are "/signin-oidc" and "/signout-callback-oidc". //oidcOptions.CallbackPath = new PathString("/signin-oidc"); //oidcOptions.SignedOutCallbackPath = new PathString("/signout-callback-oidc"); diff --git a/8.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs b/8.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs index 9d867a62..f4c4bc79 100644 --- a/8.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs +++ b/8.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs @@ -42,16 +42,7 @@ // ........................................................................ // The following paths must match the redirect and post logout redirect // paths configured when registering the application with the OIDC provider. - // For Microsoft Entra ID, this is accomplished through the "Authentication" - // blade of the application's registration in the Azure portal. Both the - // signin and signout paths must be registered as Redirect URIs. The default - // values are "/signin-oidc" and "/signout-callback-oidc". - // Microsoft Identity currently only redirects back to the - // SignedOutCallbackPath if authority is - // https://login.microsoftonline.com/{TENANT ID}/v2.0/ as it is below. - // You can use the "common" authority instead, and logout redirects back to - // the Blazor app. For more information, see - // https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/5783 + // The default values are "/signin-oidc" and "/signout-callback-oidc". //oidcOptions.CallbackPath = new PathString("/signin-oidc"); //oidcOptions.SignedOutCallbackPath = new PathString("/signout-callback-oidc"); diff --git a/9.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs b/9.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs index cc71cc6d..7bbc57c4 100644 --- a/9.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs +++ b/9.0/BlazorWebAppOidc/BlazorWebAppOidc/Program.cs @@ -36,16 +36,7 @@ // ........................................................................ // The following paths must match the redirect and post logout redirect // paths configured when registering the application with the OIDC provider. - // For Microsoft Entra ID, this is accomplished through the "Authentication" - // blade of the application's registration in the Azure portal. Both the - // signin and signout paths must be registered as Redirect URIs. The default - // values are "/signin-oidc" and "/signout-callback-oidc". - // Microsoft Identity currently only redirects back to the - // SignedOutCallbackPath if authority is - // https://login.microsoftonline.com/{TENANT ID}/v2.0/ as it is above. - // You can use the "common" authority instead, and logout redirects back to - // the Blazor app. For more information, see - // https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/5783 + // The default values are "/signin-oidc" and "/signout-callback-oidc". //oidcOptions.CallbackPath = new PathString("/signin-oidc"); //oidcOptions.SignedOutCallbackPath = new PathString("/signout-callback-oidc"); diff --git a/9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs b/9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs index 93029c9d..13b56239 100644 --- a/9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs +++ b/9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs @@ -41,16 +41,7 @@ // ........................................................................ // The following paths must match the redirect and post logout redirect // paths configured when registering the application with the OIDC provider. - // For Microsoft Entra ID, this is accomplished through the "Authentication" - // blade of the application's registration in the Azure portal. Both the - // signin and signout paths must be registered as Redirect URIs. The default - // values are "/signin-oidc" and "/signout-callback-oidc". - // Microsoft Identity currently only redirects back to the - // SignedOutCallbackPath if authority is - // https://login.microsoftonline.com/{TENANT ID}/v2.0/ as it is below. - // You can use the "common" authority instead, and logout redirects back to - // the Blazor app. For more information, see - // https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/5783 + // The default values are "/signin-oidc" and "/signout-callback-oidc". //oidcOptions.CallbackPath = new PathString("/signin-oidc"); //oidcOptions.SignedOutCallbackPath = new PathString("/signout-callback-oidc");