No authentication handler is configured to authenticate for the scheme: Microsoft.AspNet.Identity.External

后端 未结 1 782
广开言路
广开言路 2020-12-11 06:53

I am building an api using asp.net 5 rc2. I am trying to implement openiddict-core, found here for local accounts and i also want to allow for users to use external logins,

1条回答
  •  时光取名叫无心
    2020-12-11 07:25

    Have you tried registering the Identity middleware by adding app.UseIdentity(); before you register the GoogleAuthentication middleware?

    0 讨论(0)
提交回复
热议问题