Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [loginflow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

Programmatic selection of SAML config/url upon login

Salesforce allows an org to have multiple SAML configurations under Single Sign on settings. Under My domain one can modify the authentication configuration and select multiple SAML configs under the ...
Strong Like Bull's user avatar
0 votes
0 answers
77 views

lightning is not allowed in VF login flow

I try to use lwc in VF page and use the VF page in a login flow. User can view the page after login. So I think the issue is not related to permission. But during login flow, the page will not display ...
Jack's user avatar
  • 21
3 votes
0 answers
1k views

Blocking Salesforce Inspector - or other browser extension

I love SF Inspector due to its ease of use and ability to browse SF objects, and I hate SF Inspector for the same reason. I would like to find a way to control the user of browser extensions - but ...
Dan K's user avatar
  • 31
0 votes
1 answer
740 views

How to create Record-Triggered flow with scheduled paths for sending email alert to user if last login is >30 days

Looking to create a flow with 2 scheduled paths to 1) send an email to the user if they have not logged in for over 30 days 2) thereafter to send an email to the Admin if the user's login is over 35 ...
AwesomeAdmin8's user avatar
0 votes
1 answer
233 views

Matching SessionId from SessionManagement Class to SessionKey from LogoutEventStream

I'm trying to execute some Apex in a LogoutEventStream trigger that checks against the user's sessionId (SessionManagement.getCurrentSession().get('SessionId'), however the SessionKey field provided ...
Tony Kirumba's user avatar
-1 votes
2 answers
351 views

stuck on login flow not able to move forward to org

I created a login flow and removed the Finish Button. so now i am stuck on login flow and not able to access the Org.
Nitesh Kumar's user avatar
2 votes
0 answers
325 views

Unable to render a Visualforce page during a login flow

I want to render a pdf so the partner user during the login flow, before he can access the partner site, can preview the information that he fulfilled in the previous screens. The pdf is generated ...
Wiidialga18's user avatar
3 votes
1 answer
449 views

Unable to upload a file in login flow

Is there a known issue with file upload in flow login? Because, I don't have problems in upload a file with the same flow attached to a record page, but when is inside a login flow the same flow is ...
Wiidialga18's user avatar
1 vote
0 answers
404 views

Implementing a custom login sequence

I have generated a login discovery handler in my digital experience site and edited the auto-generated Apex: global class AutocreatedDiscLoginHandler1660570725472 implements Auth....
Luke Bray's user avatar
  • 506
0 votes
0 answers
79 views

How to update a custom field when user is logged out of salesforce without showing any screen?

I want to reset a "counter__c" custom field on user/contact object(community license user) whenever user session ends (or restarts). How can I catch log out or log in event for that user and ...
Sarang's user avatar
  • 2,585
0 votes
0 answers
176 views

Custom two factor authentication get verification app

We want to manage external community users with a custom multi factor authentication that takes advantage of the already existing authentication apps (Salesforce Authenticator, Google Authenticator, ...
Jorge Corral's user avatar
2 votes
1 answer
772 views

Do Login Flows Get Triggered when attepting to "Login As" another User?

I'd like to create "Test Users" for QA personnel to login into Production during deployment. I want to use delegate administration so I can manually login as these test users and grant ...
Edwin Schaeffer's user avatar
0 votes
1 answer
863 views

Automatically Login via SSO Connected App

I'm trying to teach myself IAM areas I'm weak on. I have 2 dev ed orgs.Org A - is the IDP Org B - is the SP I have created the SSO settings in Org B to use Org A as the IDP.In Org A, I have created ...
Jonathan Fox's user avatar
1 vote
3 answers
4k views

How to bypass Salesforce MFA using trusted IP address?

MFA will be required in Feb 2022. Looking to make it easier on the users, and bypass it for trusted/whitelisted IP addresses. I know about the Trusted Locations automation in the Authenticator app, ...
Kirill Yunussov's user avatar
1 vote
0 answers
111 views

Mobile users are redirected to web view salesforce after login with mobile iOS SDK (8.3.0) [closed]

We have faced with some intermittent behaviour on login process using mobile SDK (8.3.0) on iPad devices - after login user is redirected to web version of salesforce (not custom mobile application). ...
Max Yakymenko's user avatar
0 votes
2 answers
4k views

System.NoAccessException: Script-thrown exception while UserManagement.verifyPasswordlessLogin

community. We are implementing Passwordless Login in Lightning community. While we receive verification code on email, and verify it with following piece of code @AuraEnabled public static String ...
Vladimir Egikyan's user avatar
0 votes
0 answers
57 views

How to determine a fresh login and a subsequent login in Community portal?

I have a login Flow setup for a Community. When Customer logs in I should show them two distinct screens based on the scenario first time login User and subsequent login User. I used Auth Session obj ...
Kanikala's user avatar
  • 197
1 vote
0 answers
685 views

Login Flows redirection issue

We have a login flow and based on the profile, we redirect the users to a different page inside salesforce. It works fine in the redirection process. Recently we have installed a managed package, ...
Quddus's user avatar
  • 177
0 votes
0 answers
174 views

Need To route to different SSO based on user checkbox

i have two sso setup in my org. 1.OneWay 2.TwoWay My requirement on each user there is a check box. If that checkbox is true then i need to route that user to OneWay sso login flow.If not then i ...
ajay bagdad's user avatar
2 votes
2 answers
2k views

How to redirect user from one community to another using Login Flow without needed to re-authenticate?

How do I go about creating a Login Flow that redirects a user from one community to another without needing to re-authenticate? We are beginning to roll out an updated community, and before upgrading ...
user7100889's user avatar
3 votes
1 answer
695 views

External Service in Login Flow for Community users

I'm trying to use the External Services feature to call a REST-based SMS API for the two-factor authentication of our Community users. (Basically recreating this scenario, but with an External Service ...
Pawel Fronczak's user avatar
0 votes
1 answer
395 views

Login Discovery page-- Need to provide userId twice for login

i have implemented login discovery page which will ask to enter ferdation id and once fedrationid enters it will redirect to perticular flow. Question here is when i am entering the fedrationId and ...
sandy's user avatar
  • 1
1 vote
0 answers
165 views

Need to remove username from Flow Screen invoked via LoginFlow

I have a requirement which asks for verification code sent on email. So to enter the code, I have created a custom screen in the flow. This flow is invoked Everything works fine. However, I can ...
mvk1991's user avatar
  • 555
1 vote
1 answer
437 views

Should custom login flows be pulled by sfdx force:source:pull

If I create a custom Login Flow in a scratch org, and then pull using sfdx force:source:pull, should I expect that flow to be pulled down as source? The flow created in Flow Builder is pulled, just ...
markf's user avatar
  • 13
2 votes
0 answers
359 views

Need to bypass Login Flow for while clicking the link in Forgot Password

I have created a flow which asks for Verification Code, which runs properly. However, when user goes to forgot password and enteres his email, he gets a link in email, after clicking on which he gets ...
mvk1991's user avatar
  • 555
0 votes
2 answers
1k views

Not able to login to salesforce with deactivated login flow

I deactivated a login flow in Developer edition and now when I log in to salesforce I get the below error and it is not letting me sign in. please confirm if is there any solution to this problem. Is ...
gs650x's user avatar
  • 2,670
1 vote
0 answers
1k views

lightning out not working with login flow

I've a login flow which uses flow and lightning component to present few screens. Issue with flow screens is these screens are not wide enough. I tried to use login flow with VF to get better control ...
Ashish Sharma's user avatar
1 vote
2 answers
741 views

How to prevent a login flow from applying under certain circumstances?

My login flow prevents users from logging in to Salesforce for Outlook. This seems to be due to a bug: Gorav has suggested here that it "should be possible to bypass the flow for outlook client". ...
M H's user avatar
  • 779
0 votes
1 answer
1k views

How to enforce session timeout in Native-iOS App

I am using SF Mobile SDK version 5.2. I am only using the sdk for authentication and authorization of SF users of our organization. Once a user is authenticated from the salesforce, he can use the app....
HAK's user avatar
  • 101
1 vote
2 answers
954 views

Unable to login to salesforce - Lightning to Outlook Sync

Users are unable to login to Salesforce from outlook if these users have a login flow for their profile. Has anyone experience this ? If so, what did you do? Seems like an issue with Salesforce ...
user avatar
0 votes
1 answer
606 views

How to connect to one salesforce org from another salesforce org

How to connect to a salesforce org to another salesforce org using web based login and without a connected app. I want to connect to sandbox orgs from prod org and do not want to create connected ...
ab0369's user avatar
  • 365
3 votes
1 answer
2k views

How to invoke a flow/trigger if a user fails login attempt?

What Needs to Happen: When a user logs into the org, we perceive the attempt as either Successful (correct password), Failed (incorrect password), or Other. If the user fails the login attempt, a User ...
paulK's user avatar
  • 323
14 votes
1 answer
1k views

Can a Login Flow know which Connected App started it?

I want to show different screens based on which connected app is used to login to Salesforce. Can the login flow somehow know which connected app is used? There are multiple Login Flow variables we ...
Folkert's user avatar
  • 2,712
0 votes
1 answer
329 views

Login Flows (Salesforce) with IE11 [closed]

I have one simple login flow which is having one flow(simple flow like one screen) and which is applies to community user.When I logging into portal in IE which is not working but except all ...
Subba Salesforce's user avatar
0 votes
1 answer
560 views

Using a flow to log a user out of their session

Is there a declarative way to log a user out of their session using a flow, or is a Visualforce page the only way to go about it?
cryptobox's user avatar
0 votes
1 answer
623 views

Can you use the developer console while logged in as another user and access information from the original user you logged in from?

So I'm logged in as "Amber," and I have privileges to log in as any user in the system. If I were to log in as "Jessica" and open the developer console, would I still be able to access information ...
cryptobox's user avatar
4 votes
1 answer
3k views

How to deploy a Login flow in Salesforce using ANT Migration tool

I have a login flow which uses the visual flow and displays a welcome message to the user when they login.I don't see this in metadata ,How can I deploy the login flow using ANT Migration tool.
KSR's user avatar
  • 397
0 votes
1 answer
65 views

Can we use login flows to display based specific criteria?

Can we use login flows to display certain information only on 1st time login of a user. I want the user to accept some terms on first time login.
Keepcalmncode's user avatar
2 votes
1 answer
912 views

How Can I Capture Debug Logs From Login Flows?

We're running into a funky error with a login flow, where users logging in to our Community see a weird prompt/error page before they can log in. We've had the login flow for a long time and haven't ...
Benj's user avatar
  • 11.2k
0 votes
1 answer
1k views

Packaging login flow OR connecting a login flow to profile programmatically in Post Installation Script

I have created a Login flow in my Dev org. When I packaged and deployed it on another org I noticed that Flow is created but there is nothing under Login Flow. The question is that how can we package ...
Sukhminder Singh's user avatar
1 vote
1 answer
158 views

Salesforce Communities Login Flow to external APIs

I need to call some external REST APIs each time a user logs into a Salesforce Communities portal. The call should pass over some information about the user from the record in Salesforce. I've been ...
Jesse Miller's user avatar
2 votes
1 answer
98 views

Corporate client oauth request returns HTTP 401 code

To login to my corporate client Salesforce GUI, I have to use the following link: https://theCompany.force.com/partner This link works and logs me in, if I want to log in manually. But when I try to ...
Kevin Kopf's user avatar
1 vote
2 answers
336 views

Invoke a class only once using flow or Login flow

Guys I have a requirement to execute a piece of code only once. I created a flow to call a invokable method and called this flow from login flow. This was working fine and the code is being called ...
Sachin SB's user avatar
  • 101
1 vote
2 answers
4k views

Flow - Dynamically Populate Display Text

I'm using a flow paired with a login flow to display a monthly release notifications to users when they log in to SF. The issue is that I'm finding it hard to format the login flow message in the way ...
Rochelle's user avatar
  • 417
2 votes
3 answers
584 views

Using Flow & Login Flows to show my release notification

I'm creating a visual workflow & login flow so that my users see a release notification before each deployment. I only want them to see the notification once, instead of every time they log in, ...
Rochelle's user avatar
  • 417
0 votes
1 answer
1k views

How can I send an email notification to user on first time log in to salesforce? [closed]

We want to send email notification to user on first time login to Salesforce. Has any one tried it? I did it using a trigger but I am not able to get it done using Workflow. I can't compare LastLogin ...
Keepcalmncode's user avatar