Spring boot 如何配置SpringBoot应用程序以同时使用AWS Cognito和Azure等多个云身份提供商?一次只能激活一个

Spring boot 如何配置SpringBoot应用程序以同时使用AWS Cognito和Azure等多个云身份提供商?一次只能激活一个,spring-boot,spring-security,azure-active-directory,amazon-cognito,Spring Boot,Spring Security,Azure Active Directory,Amazon Cognito,我正在考虑一种身份验证解决方案,它可以支持AWS和Azure云上用户的身份管理。身份验证服务应该能够使用AWS Cognito及其Azure副本对用户进行身份验证。一次只需要激活一个,因为这将是单独的部署——想象一下,一个云托管SaaS,另一个云托管PaaS。使用Spring安全性是可选的

我正在考虑一种身份验证解决方案,它可以支持AWS和Azure云上用户的身份管理。身份验证服务应该能够使用AWS Cognito及其Azure副本对用户进行身份验证。一次只需要激活一个,因为这将是单独的部署——想象一下,一个云托管SaaS,另一个云托管PaaS。使用Spring安全性是可选的