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

Add .NET 8 support for Authentication.JwtBearer.Google #201

Open
anssiv opened this issue Nov 5, 2023 · 1 comment
Open

Add .NET 8 support for Authentication.JwtBearer.Google #201

anssiv opened this issue Nov 5, 2023 · 1 comment

Comments

@anssiv
Copy link

anssiv commented Nov 5, 2023

In .NET 8 there is a breaking change that the Authentication.JwtBearer.Google is affected by.

At the very least, you should include documentation specifying that UseSecurityTokenValidators=true is now a required configuration.

.AddJwtBearer(options => 
{
    options.UseSecurityTokenValidators = true;
    options.UseGoogle("...");
});
@khellang
Copy link
Owner

khellang commented Nov 6, 2023

Ah, thanks for the heads up! I'll push a new version as soon as possible. Wanna send a PR? 😇

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

No branches or pull requests

2 participants