You need to sign in to do that
Don't have an account?
Karimi
Login flow fault blocks access to Salesforce
Trigger failure causes login flow exception. Problem is that I have only one admin user in this development sandbox. Other user has standard user profile and it can be logged in. This other user doesnt have capabilities to deactivate login flow or deactivate trigger causing this error.
I have tried to reset password and it failed too because login flow was activated even in password change. Is there way to get access back without dumping sandbox and rebuild it from a scratch? Force IDE is not a option because security token is not valid. All help I can get is much appreciated, thanks!
I have tried to reset password and it failed too because login flow was activated even in password change. Is there way to get access back without dumping sandbox and rebuild it from a scratch? Force IDE is not a option because security token is not valid. All help I can get is much appreciated, thanks!
All Answers
When a user’s profile is associated with a login flow, the user is directed to the flow as part of the authentication process. The login flow screens are embedded in the standard Salesforce login page.
During the authentication process, these users have restricted access to the login flow screens. At the end of a successful authentication and completion of the login flow, the user is redirected to the organization. Otherwise, an explicit action can be defined within the flow to deny access.
For example, an administrator can create a login flow that implements a custom two-factor authentication process to add a desired security layer.
A flow like this uses Apex methods to get the session context, extract the user’s IP address, and verify if the request is coming from a Trusted IP Range. (To find or set the Trusted IP Range, from Setup, choose Security Controls | Network Access.) If the request is coming from within a Trusted IP Range address, Salesforce skips the flow and logs the user into the organization. Otherwise, Salesforce invokes the flow providing one of three options.Direct the user to log in with additional credentials, such as a time-based one-time password (TOTP).
Force the user to log out.
Direct the user to a page with more options.
Best Regards
Naga Kiran
It's telling me to log out everytime. Is there a way to bypass this?
I too can not log into my Dev org IDE since i dont remeber the passowrd (also dont the security token) and the login flow would not allow to reset the password or acees the org. Could you please help?
Many Thanks !
if you dont have the security token you could try to download something from your org with tools that uses oAuth for authentication so there is no need for token. Atom with Mavensmate for example is good tool for that, it does not require security token. That I dont know is login flow skipped with oAuth authentication I havent tested authentication in org that has login flow active. If successful then you could try to get in to your org using "Mavensmate->Open Salesforce Org" menu item. It logins to org via SOAP API I think
did you solve the problem ? I am facing same issue from last 2 days .while trying to login in from force.com IDE it says incorrect username,password or user is locked .
Is this issue is resolved? i am facing same issue and my developer org password is also expired so not able to login in force.com IDE.
Is there way to log a salesforce ticket for developer org to resolve this login flow issue?
Select option - 2 (Standad support)
Select option - 1 (Severity one support)
Then the support agent picked up the call and created a case for me and assigned to development team(Level 2 ) and they had removed the flow from the login flow setup. It look 2 days to get it resolved. Thank you salesforce support.
raise a case for dev account: https://trailhead.salesforce.com/help?support=mycases