I am setting up an Auth Provider with an external service that implements OpenID Connect. Their endpoint requires a query parameter because their system uses tenant databases, and their users are not globally unique.
Our current idea is to create a new auth provider record for each of their tenants that are also our clients, and use each of those URLs from the Auth. Provider on each of their branded login page.
We would like to instead use a single Auth. Provider record and extend the Auth.AuthProviderPluginClass to generate the query parameter.
Is there any way we can access the url that initiates the flow from the initiate(...) method on Auth.AuthProviderPluginClass so I can read any query parameters passed in, and use that to generate my auth endpoint url?