Questions tagged [loginflow]
The loginflow tag has no usage guidance.
46
questions
0
votes
0
answers
24
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 ...
3
votes
0
answers
552
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 ...
0
votes
1
answer
480
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 ...
0
votes
0
answers
33
views
How to fetch 3rd party application Response in Conncted app?
We have a third party Non SF application that uses Salesforce as OAuth and for this we created Connected app.
When we login to 3rd party Non SF application we use Salesforce credential. Sometimes this ...
0
votes
1
answer
131
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 ...
-1
votes
2
answers
232
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.
2
votes
0
answers
231
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 ...
3
votes
1
answer
412
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 ...
1
vote
0
answers
318
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....
0
votes
0
answers
59
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 ...
0
votes
0
answers
165
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, ...
2
votes
1
answer
620
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 ...
0
votes
1
answer
717
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 ...
1
vote
3
answers
3k
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, ...
1
vote
0
answers
98
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). ...
0
votes
2
answers
3k
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 ...
0
votes
0
answers
52
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 ...
1
vote
0
answers
609
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, ...
0
votes
0
answers
137
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 ...
2
votes
2
answers
1k
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 ...
3
votes
1
answer
625
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 ...
0
votes
1
answer
384
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 ...
1
vote
0
answers
151
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 ...
1
vote
1
answer
418
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 ...
2
votes
0
answers
337
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 ...
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 ...
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 ...
1
vote
2
answers
712
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".
...
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....
1
vote
2
answers
923
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 ...
0
votes
1
answer
559
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 ...
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 ...
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 ...
0
votes
1
answer
328
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 ...
0
votes
1
answer
470
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?
0
votes
1
answer
491
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 ...
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.
0
votes
1
answer
62
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.
2
votes
1
answer
823
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 ...
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 ...
1
vote
1
answer
157
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 ...
2
votes
1
answer
96
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 ...
1
vote
2
answers
325
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 ...
1
vote
2
answers
3k
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 ...
2
votes
3
answers
538
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, ...
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 ...