
aqv73 (aqv73) asked a question.
I have a custom OIDC application configured in Okta, and it uses multiple Identity Provider connections to authenticate users, depending on where their enterprise account information originates.
A use case has come up where one of my Identity Provider partners is requesting us to use the SAML "ForceAuthn=true" parameter for its users. Essentially, requiring re-authentication for every sign-in instead of leveraging an existing SSO session.
In my model, Okta is acting as the Service Provider to the SAML IDP, but does not give me the ability to customize the parameters of the AuthnRequest. All documentation seems focused on using this parameter for an Okta SAML Application, not an Okta Identity Provider.
How can I accomplish this configuration? Thank you!

For future viewers of this thread, I am also able to confirm that this solution works for SAML.
To go into a little more detail:
This is tested and confirmed with SAML on both Azure AD as well as ADFS.
Oddly, it DOES NOT seem to work for OpenID Identity Providers. One would expect the prompt=login to pass through intact to that authorization request, but it didn't, in our testing. You can, however, append it explicitly as a querystring parameter to the Authorization Endpoint in the IDP setup.