How to pass custom parameters to external IdPs

A similar question was asked previously , but was not answered. How can we configure Okta External OIDC IdPs and custom authorization servers to pass a custom parameter to the external IdP?

In the IdP initiated SSO flow, my external IdP will send a custom parameter called “launch”. When okta invokes the auth endpoint of the IdP, I need okta to pass that parameter, so the user doesn’t need to authenticate again with the IdP.

If this is about a custom OIDC IdP, you can add additional parameters to the Authorization Endpoint you provide when setting up the Identity Provider on the Okta side, e.g. https://example.com//oauth2/authorize?launch=true