Login flows acts as business process which you want to invoke for user after logging. Login flows are assigned at profile level.
How Login Flow works?
Hope this will help!!
How Login Flow works?
Custom 2 Factor Authentication
Login flows can be used to provide custom 2 factor authentication. Below is flow chart that I have prepared to implement this:
Different steps involved:
- Once user logged in, will be redirected to login flow.
- From login flow, call apex call which can either perform callout to external system which can send authentication code to user via SMS or email. You can use twilio app to send sms to users. You can store the auth code from callout response in salesforce(may be in some custom field on user object).
- If you don't want to use external app, then generate random code in apex and store it in custom field in user object and send email to user with code using apex email message methods.
- Once user receives the code will enter it in input text on login flow.
- If user entered code matches with code stored in user object custom field then allow user to navigate to Salesforce. As a best practice clear the code stored in user object once validation completed so that user can not reuse the same code again.
- If there is mismatch, you can deny user access.
Important considerations while using login flows
- Login flow can not be used to replace Salesforce authentication but can used as additional set of authentication.
- Login flow can be used to display some important messages to users once they login. Refer Login Flows to Display Important Messages to User After Login to learn about this in detail.
- Login flows are only applicable for UI login not for API login.
- Login flow can be used with SAML JIT. If user doesn't exist then during JIT, first user will be provisioned and then login flow will kick off. If user fails 2 factor authentication from login flow,then deactivate the user again in salesforce.
- When user login, user login date like type of device, IP address, session id, user agent etc are available in visual workflow designer. This can be used to provide different user experience to user based on login device.
- As a best practice, do not enable custom 2 factor authentication for system administrators.
Hope this will help!!
Interesting information and attractive.This blog is really rocking... Yes, the post is very interesting and I really like it.I never seen articles like this. I meant it's so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job.
ReplyDeleteKindly visit us @
Sathya Online Shopping
Buy AC Online | AC Online Shopping | AC Price | Buy Air Conditioner Online
Inverter Split AC | Best Inverter AC | Split AC Price | Buy Split AC Online
Smart LED TV | Smart TV Price | LED TV Online | Buy LED TV Online
Laptop Online | Laptop Price | Buy Laptop Online | Best Laptop
Buy HD LED TV
Buy Ultra HD TV Online
Buy Mobile Online | Buy Smartphone Online in India
I’m really impressed with your article, such great & usefull knowledge you mentioned here. Thank you for sharing such a good and useful information here in the blog
ReplyDeleteKindly visit us @
SATHYA TECHNOSOFT (I) PVT LTD
Social Media Marketing Company | SMO Company India
Social Media Marketing Packages in India
PPC Campaign Price | Google Adwords Pricing in india
PPC Company in India | PPC Services India
Google Adwords company in India | Google Adwords Services in India
Best SEO Company in india | SEO Services in India
Bulk SMS Service India | Bulk SMS India
Nice post. Thank you for this wonderful sharing.
ReplyDeleteKindly visit us @
Sathya Park & Resorts
Hotels in Tuticorin
Best Hotels in Tuticorin
Hotel Rooms in Tuticorin
Online Hotel Booking in Tuticorin
Tuticorin Hotels Online Booking
The article is very interesting and very understood to be read, may be useful for the people. I wanted to thank you for this great read!! I definitely enjoyed every little bit of it. I have to bookmarked to check out new stuff on your post. Thanks for sharing the information keep updating, looking forward for more posts..
ReplyDeleteKindly visit us @
Madurai Travels
Best Travels in Madurai
Cabs in Madurai
Tours and Travels in Madurai
Wow, what an awesome spot to spend hours and hours! It's beautiful and I'm also surprised that you had it all to yourselves! Kindly follow the links too Best HIV Treatment in India
ReplyDeleteTop HIV Hospital in India
HIV AIDS Treatment in Mumbai
HIV Specialist in Bangalore
HIV Positive Treatment in India
Medicine for AIDS in India
Nice blog, it's so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job. Thank you for this wonderful sharing with us. Keep Sharing. For better education and job placement visit here 100% Job Placement
ReplyDeleteBest Colleges for Computer Engineering
Biomedical Engineering Colleges in Coimbatore
Best Biotechnology Colleges in Tamilnadu
Biotechnology Colleges in Coimbatore
Biotechnology Courses in Coimbatore
Best MCA Colleges in Tamilnadu
Best MBA Colleges in Coimbatore
Engineering Courses in Tamilnadu
Engg Colleges in Coimbatore
Excellent Blog. I really want to admire the quality of this post. I like the way of your presentation of ideas, views and valuable content. No doubt you are doing great work. I’ll be waiting for your next post. Thanks .Keep it up!
ReplyDeleteKindly visit us @
Christmas Gift Boxes
Wallet Box
Perfume Box Manufacturer
Candle Packaging Boxes
Luxury Leather Box
Luxury Clothes Box
Luxury Cosmetics Box
Shoe Box Manufacturer
Luxury Watch Box
Wow, what an awesome spot to spend hours and hours! It's beautiful and I'm also surprised that you had it all to yourselves!
ReplyDeleteKindly visit us @
Best HIV Treatment in India
Top HIV Hospital in India
HIV AIDS Treatment in Mumbai
HIV Specialist in Bangalore
HIV Positive Treatment in India
Medicine for AIDS in India
A very inspiring blog your article is so convincing that I never stop myself to say something about it. You’re doing a great job,Keep it up.
ReplyDelete100% Job Placement Tamilnadu | Best Colleges for Computer Engineering
Biomedical Engineering Colleges in Coimbatore | Best Biotechnology Colleges in Tamilnadu
"Biotechnology colleges in coimbatore, Biotechnology colleges in tamilnadu "
Biotechnology Courses in Coimbatore | Best MCA Colleges in Tamilnadu
Best MBA Colleges in Coimbatore | Engineering Courses in Tamilnadu
Engg Colleges in Coimbatore
this is the Best free dating apps for youth, is the best way to find your perfect partner
ReplyDeleteWonderful post, This article have helped greatly continue writing ..
ReplyDeleteThanks for sharing information. I really appreciate it.
ReplyDeleteGreat Article
ReplyDeleteFinal Year Project Domains for CSE
Final Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai
A very inspiring blog your article is so convincing that I never stop myself to say something about it.
ReplyDeleteThis is very nice post ...so good to read...
ReplyDeleteA very inspiring blog your article is so convincing that I never stop myself to say something about it.
ReplyDeleteNice blog, it’s so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job. Thank you for this wonderful sharing with us. Keep Sharing.
ReplyDeleteA very interesting blog....
ReplyDeleteKeep sharing the post like this.
ReplyDeleteHello Admin!
ReplyDeleteThanks for the post. It was very interesting and meaningful. I really appreciate it! Keep updating stuffs like this. If you are looking for the Advertising Agency in Chennai | Printing in Chennai , Visit Inoventic Creative Agency Today..
It’s so knowledgeable Nice blog...
ReplyDeleteNice blog, it’s so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job. Thank you for this wonderful sharing with us. Keep Sharing.
ReplyDeleteKeep sharing the post like this.
ReplyDeleteThanks for sharing such a great blog
ReplyDeleteThanks for posting such a great blog
ReplyDeleteVermicompost Manufacturers | Vermicompost in chennai
Nice blog, it’s so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job. Thank you for this wonderful sharing with us. Keep Sharing.
ReplyDeleteTours and Travels in Madurai | Best tour operators in Madurai
Best travel agency in Madurai | Best Travels in Madurai
Hi, Very nice article. I hope you will publish again such type of post. Thank you!
ReplyDeleteCorporate gifts ideas | Corporate gifts
Corporate gifts singapore | Corporate gifts in singapore
Promotional gifts singapore | Corporate gifts wholesale Singapore
Thanks for sharing such a great blog
ReplyDeleteVermicompost manufacturers in Tamilnadu | Vermicompost in Tamilnadu
Vermicompost Manufacturers | Vermicompost Suppliers
Vermicompost in Coimbatore | Vermicompost manufacturers in Chennai
Vermicompost in chennai | Best Vermicompost in chennai
Hi, Very nice article. I hope you will publish again such type of post. Thank you!
ReplyDeleteCorporate gifts ideas | Corporate gifts
Corporate gifts singapore | Corporate gifts in singapore
Promotional gifts singapore | Corporate gifts wholesale Singapore
Business card holder singapore | T shirts supplier singapore
Thumb drive supplier singapore | Leather corporate gifts singapore
Thanks for sharing such a great blog
ReplyDeleteVermicompost manufacturers in Tamilnadu | Vermicompost in Tamilnadu
Vermicompost Manufacturers | Vermicompost Suppliers
Vermicompost in Coimbatore | Vermicompost manufacturers in Chennai
Vermicompost in chennai | Best Vermicompost in chennai
Hi, Very nice article. I hope you will publish again such type of post. Thank you!
ReplyDeleteCorporate gifts ideas | Corporate gifts
Corporate gifts singapore | Corporate gifts in singapore
Promotional gifts singapore | corporate gifts supplier
Hey!
ReplyDeleteDigiPeek is the best SEO & Link Building Service Provider In The World. I have 7+ Years Experience To Build SEO, Backlinks & Improve Website Ranking.
If you need Profile Backlinks, Forum Backlinks, Dofollow Backlinks, Manual Backlinks, Trusted SEO Backlinks, Increase Domain Rating Then You Will Contact Me.
I am glad to help You!
Let's TRY!
ReplyDeleteHi, Very nice article. I hope you will publish again such type of post. Thank you!
Corporate gifts ideas | Corporate gifts
Corporate gifts singapore | Corporate gifts in singapore
Promotional gifts singapore | corporate gifts supplier
Thanks for sharing this information. I really appreciate it.
ReplyDeleteIphone service center in tnagar | Iphone service center in chennai
Lenovo mobile service center in Tnagar | Lenovo Mobile service center in chennai
Moto service center in t nagar | Motorola service center in t nagar
Moto Service Center in Chennai | Motorola Service Center in chennai
To be honest your article is informative and very helpful. Hp Laptop
ReplyDeleteHp Laptop online
Interesting stuff to read. Keep it up.Adidas showroom in madurai
ReplyDeleteWoodland showroom in madurai | Skechers showroom in Madurai
Puma showroom in madurai
Aivivu đại lý vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
bay từ hàn quốc về việt nam
vé máy bay hà nội sài gòn vietnam airlines
vé máy bay đà nẵng hà nội hôm nay
vé máy bay từ mỹ về việt nam bao nhiêu
I appreciate your post thanks for sharing the information.
ReplyDeleteBranding custom Packaging Boxes
Corrugated packaging Delaware
Good pictures and great post very informative thanks for sharing with us.
ReplyDeleteWallet box packaging wholesale
buy Watch Boxes
The explanation is comprehensive and informative. Quikads is the
ReplyDeletebest selling sites in Bangladesh
Nice blog really love the content. Visit Towertools, here you will get all kind of tools like Paint Filter Online | Spray Paint
ReplyDeleteTerrific work! That is the kind of info that should be shared around the internet.
ReplyDeleteShame on the seek engines for no longer positioning this submit higher!
Come on over and consult with my website . Thank you =)
content writing company in delhi
travel content writer in delhi
A very inspiring blog your article is so convincing.
ReplyDeleteBest aeronautical engineering colleges in coimbatore
Best colleges for aeronautical engineering in coimbatore
Top most engineering colleges in coimbatore
I really enjoyed this post
ReplyDeletePackers and Movers in Chennai | Packers and Movers in Trichy
Packers and Movers in Theni | Packers and Movers in Karur
Packers and Movers in Madurai
You have written a magnificent content
ReplyDeleteCloud Packers and Movers in Bangalore
Cloud Packers and Movers in Bhubaneswar
Cloud Packers and Movers in Whitefield
Cloud Packers and Movers in HSR Layout
Cloud Packers and Movers in Cuttack
Amazing write-up! Best Murukku Machine in Tamilnadu
ReplyDeleteLow Cost Murukku Machine in Tamilnadu
Automatic Murukku Machine in Tamilnadu
Kai Murukku Machine in Tamilnadu
Chakli Making Machine in Tamilnadu
Thank you for sharing this helpful information.
ReplyDeletehttp://jobs.johnstoncounty.today/author/atranslogistic04/
https://www.dfuture.com.au/profile/atranslogistic04/profile
https://tunrmusic.com/profile/atranslogistic0
https://theautismdirectory.com/profile/
https://www.weyogis.com/profile/a1translogistic/profile
https://editor.traveldiariesapp.com/en/diary/574f7f5f-2e6e-4d9f-a6fc-c8343b7f0945/chapter/8b7c82e7-b7e5-4e22-b0a6-42ef14aa83e9
Thanks for sharing this helpful information! This is exciting information for me.
ReplyDeletePackers and Movers in Chennai
Packers and Movers in Chennai
Packers and Movers in Chennai
Packers and Movers in Chennai
Packers and Movers in Chennai
Thank you so much.
ReplyDeletepackers and movers in kondapur
Thank you so much. Do you like crystal shops?
ReplyDelete