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

Blazor BWA OIDC non-BFF/BFF samples update 9.0 #367

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Oct 8, 2024

Addresses dotnet/AspNetCore.Docs#31909

Changes from 8.0 ...

  • TFMs to net9.0.
  • Package references (currently RC1 to be updated to GA later).
  • Remove auth state provider services and replace with calls to AddAuthenticationStateSerialization (server-side) and AddAuthenticationStateDeserialization (client-side).
  • Add a UserSecretsId to the project files of these new 9.0 sample apps but also add them to the 8.0 samples. Remove the Program file guidance on setting the client secret in code, both in the 9.0 and 8.0 samples. The article will explain how to use the Secret Manager tool for local dev and cross-link to guidance for other environments.

AFAICT, I don't need to enforce any static SSR pages (i.e., [ExcludeFromInteractiveRouting]) in these samples, but let me know if that's incorrect.

Copy link
Member

@halter73 halter73 left a comment

Choose a reason for hiding this comment

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

AFAICT, I don't need to enforce any static SSR pages (i.e., [ExcludeFromInteractiveRouting]) in these samples, but let me know if that's incorrect.

I think that's correct for this sample.

9.0/BlazorWebAppOidcBff/BlazorWebAppOidc/Program.cs Outdated Show resolved Hide resolved
Co-authored-by: Stephen Halter <halter73@gmail.com>
@guardrex guardrex merged commit c544f5e into main Oct 9, 2024
1 check passed
@guardrex guardrex deleted the guardrex/blazor-bwa-oidc-samps-90 branch October 9, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants