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.
Required Editions
Available in: Lightning Experience and Salesforce Classic
Available in: Enterprise, Performance, Unlimited, and
Developer Editions
User Permissions
Needed
To view the settings:
View Setup and Configuration
To edit the settings:
Customize Application
AND
Manage Auth. Providers
To control how the authorization server prompts the user to reauthenticate and reauthorize,
add the prompt parameter to client configuration URLs. The third party
determines which values are supported for this parameter. Consult your third party to
determine which values you can use.
For example, you set up a Google authentication provider to configure SSO with your
Salesforce org as the relying party. After users create a Google account, you want to prompt
them to log in with their new Google credentials. To configure this prompt, add the
prompt parameter to your SSO client configuration URL, and use values
supported by Google.
A Salesforce authentication provider supports the following values for the
prompt parameter:
login—The authorization server prompts the user for
reauthentication, forcing the user to log in again.
consent—The authorization server prompts the user to reauthorize
third-party data access before returning information to the relying party.
Example This example uses Salesforce-supported values. Here’s the Single Sign-On Initialization
URL with the prompt parameter added and set to login:
You
can also pass both values, separated by a space, to make the user log in and reauthorize. For
example: ?prompt=login consent.
If you don’t add the prompt parameter, the user can continue with
their existing session without logging in again.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.