5
votes
Can a Login Flow know which Connected App started it?
You may be in luck. There's something call the ExperienceID or expid that potentially could be used to do what you want to achieve. Its primary purpose is to be able to customize the "branding ...
4
votes
Accepted
How to invoke a flow/trigger if a user fails login attempt?
You cannot run a process builder/trigger/workflow without logging in.
The best you do is with invalid password then lockout the user. Set the lockout effective period to forever, then show a locked ...
4
votes
Accepted
Using Flow & Login Flows to show my release notification
You named your Flow input variable wrong to get the Flow User ID. The proper format for that input variable should be LoginFlow_UserId as noted in this support article. It's not working because you ...
3
votes
Accepted
Do Login Flows Get Triggered when attepting to "Login As" another User?
I spoke to our Salesforce team that owns this feature and confirmed that when logging in as another user that has login flows on their profiles, the admin user is not subject to login flows.
And when ...
2
votes
Can we use login flows to display based specific criteria?
Yes, that is one of the examples giving in the official documentation.
Seems there is even a link to an unmanaged package to install different login flow samples into your org.
2
votes
How to bypass Salesforce MFA using trusted IP address?
I have just had a discussion with a Salesforce Support Agent about this topic today. Unfortunately, there is no options to bypass it at the moment.
They confirmed it.
The trusted ip ranges can be used ...
2
votes
How to redirect user from one community to another using Login Flow without needed to re-authenticate?
It seems like what you're looking for is SSO with salesforce as both the SP and IP. I've never tried it within the same org however. Here is some info that you can try to use:
Salesforce to ...
2
votes
Unable to login to salesforce - Lightning to Outlook Sync
While I agree that seems like an issue (aka a bug), you should be able to parse the user agent in the login flow or the platform to determine if they are coming from outlook and bypass the login flow ...
1
vote
Matching SessionId from SessionManagement Class to SessionKey from LogoutEventStream
The Platform Event runs as a separate transaction and as Automated Process user so it makes sense there is no match between value in the PE and the current trigger user's session
So, this is how I ...
1
vote
stuck on login flow not able to move forward to org
You can connect the org via SFDX using this command.
sfdx auth:web:login --setalias orgalias --instanceurl https://test.salesforce.com
Then use
sfdx force:org:open -u orgalias
This will escape login ...
1
vote
stuck on login flow not able to move forward to org
So sad to hear this.
Try deactivating the flow from VS code which you used in your login
flow.
OR
The other thing you can do is -
In your VS Code retrieve the flow which you have created. You have ...
1
vote
Unable to upload a file in login flow
Just create a html input tag:
<input
type="file"
class="slds-file-selector__input slds-assistive-text"
accept="image/png"
...
1
vote
Accepted
Automatically Login via SSO Connected App
If you disable the Username and Password Login option in your Org B my domain settings, you can achieve this functionality
1
vote
How to connect to one salesforce org from another salesforce org
Check this article(Connecting one Org to another via Rest API) :
https://cloudvista.wordpress.com/2015/07/23/connecting-one-salesforce-org-to-another-via-rest-api/
Note: this uses connected App but ...
1
vote
Accepted
Should custom login flows be pulled by sfdx force:source:pull
The Metadata Coverage Report is the centralized location for which metadata elements are supported by functionality like Salesforce DX and the Metadata API.
The LoginFlow component is not supported ...
1
vote
Not able to login to salesforce with deactivated login flow
You have to remove it from Setup > Login Flows, not only deactivate it from Flows because it's still looking for the flow to be executed.
1
vote
Login Flows (Salesforce) with IE11
This could be a known issue check this link.
At present the only workaround is to use chrome and firefox.
You can build something custom to overcome this instead of using login flow
1
vote
How to deploy a Login flow in Salesforce using ANT Migration tool
In API Version 53 (probably a few versions earlier as well), the loginFlow is specified within the Profile. Deploying the Profile should also deploy the LoginFlow. However, be advised that deploying ...
1
vote
How can I send an email notification to user on first time log in to salesforce?
If you are only looking to send it based upon the first time they ever log in could you have a workflow/trigger/process that fires off of LastLoginDate. When they have never logged in that value is ...
1
vote
How Can I Capture Debug Logs From Login Flows?
Have you tried setting debug log for the user who is facing error in login. I am sure, there would be class invoked in login flow (if using the login flow provided on SF blog) and you can capture ...
1
vote
Packaging login flow OR connecting a login flow to profile programmatically in Post Installation Script
You cannot include Login Flows in packages. See list of components that can be added to packages. Also there is no way to create login flow pragmatically using post installation scripts.
Login flow ...
1
vote
Accepted
Salesforce Communities Login Flow to external APIs
You can use the @invocableMethod annotation to make a static Apex method available to use in a Login Flow.
You cannot run a trigger on logins as of S17.
1
vote
Accepted
Flow - Dynamically Populate Display Text
You can use simple merge values in a flow, so it's entirely possible to do things like what you're talking about. For retrieving labels, you apparently can't merge those in directly, so you'd have to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
loginflow × 46visual-workflow × 18
login × 12
apex × 10
visualforce × 4
community × 4
customer-community × 4
oauth2 × 3
single-sign-on × 3
connected-apps × 3
authentication × 3
visual-flows × 3
login-errors × 3
lightning × 2
user × 2
salesforcemobilesdk-ios × 2
ios × 2
session × 2
grant-login-access × 2
login-history × 2
lightning-aura-components × 1
salesforcedx × 1
deployment × 1
profile × 1
security × 1