We are an app partner and use HubSpot OAuth in our application. We want the ability to prompt users to reauthenticate and reathorize their HubSpot account. This feature is supported in Salesforce and other OAuth tools.
This is valuable for ensuring the correct accounts have access to HubSpot and mitigating cross-account confusion or session fixation/hijacking due to improper authentication context enforcement.
Here from Salesforce’s docs:
When you set up single sign-on (SSO) with an authentication provider, you can optionally add the prompt URL request parameter to client configuration URLs. This parameter specifies how the authorization server prompts the user to log in again and reapprove data access. For example, you can make a user log in again after signing up for an account.
https://help.salesforce.com/s/articleView?id=xcloud.sso_provider_addl_params_prompt.htm&type=5
I think only requiring this for OAuth2 would be fine as that’s already a requirement for apps.