anchor.diff:  @Bean
   public RelyingPartyRegistrationRepository relyingPartyRegistrations() {
       RelyingPartyRegistration okta = addRelyingPartyDetails(
  -            RelyingPartyRegistration
  +            RelyingPartyRegistrations
                   .fromMetadataLocation(oktaMetadataUrl)
                   .registrationId("okta")).build();
   
       RelyingPartyRegistration azure = addRelyingPartyDetails(
  -            RelyingPartyRegistration
  +            RelyingPartyRegistrations
                   .fromMetadataLocation(oktaMetadataUrl)
                   .registrationId("azure")).build();
   
  
positive.code:     } catch (Exception e) {
      	return result.concat(new Saml2Error(INVALID_ASSERTION, e.getMessage()));
      }
      return result.contact(new Saml2Error(INVALID_ASSERTION, context.getValidationFailureMessage()));
  });
  ----
  
  
negative.code: http
      // ...
      .saml2Login(withDefaults())
      .addFilterBefore(filter, Saml2WebSsoAuthenticationFilter.class);
  ----
  
  You can use this metadata endpoint to register your relying party with your asserting party.
  