CustomAuthenticationProvider SPI to Make HTTP Call to Custom Auth Service

Team,
We have CustomAuthentication Service to be used for Authentication using CustomAuthenticationProvider SPI

  • We already have externalised the User interface for Login in our application and using Resource Grant to generate token to Keycloak
  • While we do ,we are extending CustomAuthenticationProvider SPI to Make HTTP call to our AuthService
    Can you share some REference on implementing this .
    Note: We are not looking for the User StorageProviderSPI, we would like to extend CustomAuthenticationProvider SPI to make Http Call to Our custom Auth Service and come back.