Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Keycloak article and include sample. #2231

Merged
merged 16 commits into from
Dec 11, 2024

Conversation

IEvangelist
Copy link
Member

@IEvangelist IEvangelist commented Dec 4, 2024

@dotnet-policy-service dotnet-policy-service bot added okr-health okr-quality Content-health KR: Concerns article defects/freshness or build warnings. labels Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 66 out of 81 changed files in this pull request and generated no suggestions.

Files not reviewed (15)
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/AspireApp.ApiService.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/Properties/launchSettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/appsettings.Development.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/appsettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/Properties/launchSettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/appsettings.Development.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/appsettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/AspireApp.Web.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/MainLayout.razor.css: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/App.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/LoginDisplay.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/MainLayout.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/NavMenu.razor: Evaluated as low risk
Comments skipped due to low confidence (2)

docs/authentication/snippets/AspireApp/AspireApp.Web/AuthorizationHandler.cs:4

  • Missing semicolon after the namespace declaration.
namespace AspireApp.Web

docs/authentication/snippets/AspireApp/AspireApp.Web/AuthorizationHandler.cs:11

  • [nitpick] The error message 'No HttpContext available from the IHttpContextAccessor!' could be more informative. Consider providing more context about the issue.
throw new InvalidOperationException("No HttpContext available from the IHttpContextAccessor!");
@IEvangelist IEvangelist requested a review from Copilot December 4, 2024 19:07

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 66 out of 81 changed files in this pull request and generated no suggestions.

Files not reviewed (15)
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/AspireApp.ApiService.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/Properties/launchSettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/appsettings.Development.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ApiService/appsettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/AspireApp.AppHost.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/Properties/launchSettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/appsettings.Development.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.AppHost/appsettings.json: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.ServiceDefaults/AspireApp.ServiceDefaults.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/AspireApp.Web.csproj: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/MainLayout.razor.css: Language not supported
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/App.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/LoginDisplay.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/MainLayout.razor: Evaluated as low risk
  • docs/authentication/snippets/AspireApp/AspireApp.Web/Components/Layout/NavMenu.razor: Evaluated as low risk
Comments skipped due to low confidence (1)

docs/authentication/snippets/AspireApp/AspireApp.Web/AuthorizationHandler.cs:13

  • The multi-line string should use triple quotes correctly. It should be 'throw new InvalidOperationException("""No HttpContext available from the IHttpContextAccessor.""")'.
throw new InvalidOperationException("""
@IEvangelist IEvangelist marked this pull request as ready for review December 5, 2024 15:26
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @IEvangelist

I had a couple small comments, but go ahead and :shipit: when ready.

@IEvangelist IEvangelist merged commit c4eb671 into dotnet:main Dec 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
okr-health okr-quality Content-health KR: Concerns article defects/freshness or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rewrite of the Keycloak integration article Keycloack code fails
2 participants