You need to choose an IDP eg Azure AD, Auth0, Okta, Shibboleth, identityserver 4 ...
(您需要选择一个IDP,例如Azure AD,Auth0,Okta,Shibboleth,身份服务器4 ...)
Only a few IDP can authenticate against a SQL DB.
(只有少数IDP可以针对SQL DB进行身份验证。)
Have a look at Auth0 (paid) or identityserver 4 (free).
(查看Auth0(收费)或Identityserver 4(免费)。)
Both of these have client-side samples.
(这两个都有客户端示例。)
These samples will use one of: (这些示例将使用以下之一:)
- WS-Federation
(WS联合会)
- SAML 2.0
(SAML 2.0)
- OpenID Connect
(OpenID连接)
as the protocol to talk to your IDP.
(作为与您的IDP对话的协议。)
Use OIDC - it's the easiest - if you can. (如果可以的话,请使用OIDC-最简单的方法。)
Your partner will need to use one of these libraries in their application.
(您的合作伙伴将需要在其应用程序中使用这些库之一。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…