Questions tagged [loginflow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Login in mobile app web view from custom community page

When we try to login from custom community login page in mobile app using the react native Salesforce SDK for iOS, neither the success nor the failure callback is called, even when we have ...
user avatar
0 votes
0 answers
34 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 ...
user avatar
  • 2,450
0 votes
0 answers
46 views

Salesforce embedded login form - custom login logic

We are planning on implementing the Salesforce embedded login functionality on an external site so users can authenticate into our Experience site. Our experience site currently is a heavily ...
user avatar
0 votes
0 answers
80 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, ...
user avatar
1 vote
0 answers
240 views

Login Flow Bypass IP Restrictions?

Can a login flow be used to bypass IP range restrictions? In preparing for the Identity certification a practice question came up with an alleged correct answer of "Use login flow to bypass IP ...
user avatar
2 votes
1 answer
172 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 ...
user avatar
  • 147
0 votes
1 answer
187 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 ...
user avatar
1 vote
2 answers
1k 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, ...
user avatar
1 vote
0 answers
40 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). ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 187
1 vote
0 answers
283 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, ...
user avatar
  • 165
0 votes
0 answers
44 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 ...
user avatar
2 votes
2 answers
865 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 ...
user avatar
3 votes
1 answer
382 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 ...
user avatar
0 votes
1 answer
268 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 ...
user avatar
  • 1
1 vote
0 answers
88 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 ...
user avatar
  • 497
1 vote
1 answer
271 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 ...
user avatar
  • 13
2 votes
0 answers
243 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 ...
user avatar
  • 497
0 votes
2 answers
662 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 ...
user avatar
  • 2,215
1 vote
0 answers
699 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 ...
user avatar
1 vote
2 answers
552 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". ...
user avatar
  • 664
0 votes
1 answer
657 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....
user avatar
  • 101
1 vote
2 answers
822 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
353 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 ...
user avatar
  • 335
3 votes
1 answer
1k 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 ...
user avatar
  • 303
14 votes
1 answer
945 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 ...
user avatar
  • 2,552
0 votes
1 answer
323 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 ...
user avatar
0 votes
1 answer
194 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?
user avatar
0 votes
1 answer
243 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 ...
user avatar
4 votes
1 answer
2k 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.
user avatar
  • 377
0 votes
1 answer
36 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.
user avatar
2 votes
1 answer
529 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 ...
user avatar
  • 10.9k
0 votes
1 answer
613 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 ...
user avatar
1 vote
1 answer
147 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 ...
user avatar
2 votes
1 answer
90 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 ...
user avatar
1 vote
2 answers
266 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 ...
user avatar
  • 101
1 vote
2 answers
2k 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 ...
user avatar
  • 407
2 votes
3 answers
423 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, ...
user avatar
  • 407
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 ...
user avatar