ITADN

'HttpContext' does not contain a definition for 'GetExternalProvidersAsync' or for 'IsProviderSupportedAsync'

#144Closedggelu 创建于 2023-03-28
question
G
ggelucommented
I am making a web app with Steam login and I tried using the sample code but I can't use the 2 functions mentioned in the title. Am I missing a package or something? I added: builder.Services.AddAuthentication().AddSteam(); app.UseAuthorization(); app.UseAuthentication(); in the Program.cs.
关闭于 2023-03-28 1 条评论