Now many site services have a 2FA mechanism, and services such as login or online payment need to send a text message. Enter the verification code after receiving the text message.

In response to this mechanism, the iPhone supports automatic extraction, which can be filled by clicking, while on the Mac, only Safari has a similar experience. If you use other apps such as Chrome, you will lose this experience. In order to solve this deficiency, a workflow is developed here to optimize the experience.

Download Link:Click Here

As above, wait for dozens of seconds after sending the message, when the text message is received, enter 2fa to evoke the workflow, select the verification code item, and press Enter to copy to clipboard board, ⌘ + v fills the target input box.

  1. There are differences in the validity period of different verification codes, so workflow provides the option to set the validity period. By default, the SMS verification code received within 10 minutes is queried.
  2. In order to read text messages on Mac, Alfred needs to have disk access permissions
  1. Under the iPhone, you can set the received SMS including iMessage to be forwarded to the Mac device, which ensures that the Mac can get the verification code SMS
  2. SMS messages under Mac are all stored in /Library/Messages/chat.db, Alfred can set permissions to read the DB file to get SMS messages
  3. Use regular expression to extract verification code

After the above operation, it will be more convenient.





Develop with pleasure!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

[How-to] Deploy Spring Boot 2.x apps on WebSphere 8.5.5

My journey to learn Python — Day 9

Meet the Deconet Advisors: Joe McCann of NodeSource

“Anima of Quantmix” Official Service Begins!

Tutorial on GUI with Python using DearPyGUI(0.8) — part 1

#CloudDesign: Design changes for migrating from ab on-prem to a Cloud Native world

Raspberry Pi Cluster Emulation With Docker Compose

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan He

Alan He

Develop with pleasure!

More from Medium

Creating a flexible Backoffice Tool in a Technical Company using Slack

Zero-code API using AWS API-gateway, Detailed explanation with screenshots

Clearing cache Microsoft Teams — MacOs (making it work)

Strapi Deployment