I am working on a Spring web application that uses Oauth2 for authentication, we have Oauth server to where the web applications redirect to and perform the form-based login. I am trying to find a way to integrate the Oauth server with Azure AD B2C i.e authentication should be done against the Azure AD B2C but the access token generation should happen in the Oauth server.
Is there a way to configure Oauth server to perform the Authentication against the Azure AD B2C?