问题
ASP.NET Boilerplate unlike ASP.NET Zero does not contain the OpenID Connect support to a third-party Identity Solution.
An older post on the ASP.NET Boilerplate forum (Support for Open ID and JWT?) discusses this topic but does not provide any code example on how to approach this. Has anyone tried this already?
It would be fine if this feature could be added to ASP.NET Boilerplate as well...
回答1:
If you want to make your application openid connect client (not server) you can just use Microsoft's related nuget package.
If your application is ASP.NET Core then the package name is Microsoft.AspNetCore.Authentication.OpenIdConnect
But if you want to be an open id connect server, it's a different thing. You can then use Identity Server for example.
来源:https://stackoverflow.com/questions/44797919/openid-connect-integration