hi
i want to add my own token validation jwt for client side api access.
how i can do that.i can not add builder.AddJwtBearer()
InvalidOperationException: Scheme already exists: Bearer
Microsoft.AspNetCore.Authentication.AuthenticationOptions.AddScheme(string name, Action<AuthenticationSchemeBuilder> configureBuilder)
DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Authentication.AuthenticationOptions])' on type 'AuthenticationSchemeProvider'.
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
DependencyResolutionException: An exception was thrown while activating Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider.
Validation
Monday, November 25, 2024 9:42:34 PM