title: set Multiple "jwk-set-uri" for my spring resource server
body: <p>I have been developing this mobile app for a long time now which uses microservices architecture on the backend ( spring boot 2.4.2 ) . I have been able to set my microservices as resource servers which validate google tokens and everything works as expected in android version . Incidentally , I'm working on ios version and apple store imposes a rule to add apple sign in feature to my app .</p>
  <p>Currently google sign in is working just fine with this line in application.properties file  :</p>
  <p><em>spring.security.oauth2.resourceserver.jwt.jwk-set-uri = <a href="https://www.googleapis.com/oauth2/v3/certs" rel="nofollow noreferrer">https://www.googleapis.com/oauth2/v3/certs</a></em></p>
  <p>However with this apple store rule I have to set another jwk-set-uri &quot;https://appleid.apple.com/auth/keys&quot; .</p>
  <p>So my resource server can validate both token types apple and google .</p>
  <p>How can I just Do that exactly . I have been looking on the web for a precise solution but with no avail .</p>
  <p>Can someone please help me out . Any kind of help would be much appreciated .</p>
  <p>Cheers .</p>