今天无意发现了一个符合 OIDC 的 JAVA 客户端(pac4j),无缝支持 IdentityServer 与 Keycloak 。支持 OpenID Connect providers: Google, AzureAD, Okta, IdentityServer3 (and 4), MitreID, Keycloak 4.6 ,使用详细具体看文档吧 。
REFER:
https://github.com/pac4j/pac4j
https://www.pac4j.org/docs/alldocs.htmlhttps://connect2id.com/products/nimbus-oauth-openid-connect-sdk (Nimbus)
https://github.com/spring-projects-experimental/spring-authorization-server