Feature: OAuth picker for walker#3265
Conversation
|
What tool are you using to get the Omarchy does ship with 1Password by default. I'm not sure if maybe @dhh wants to integrate the upcoming native 1Password provider for Walker instead. |
This was just entered manually by copying the setup code provided when setting up a new 'authenticator app' in Microsoft etc. |
|
This is an interesting idea, and thanks for suggesting it, but not something I'd personally use. Maybe we can do this as an external package for those who want this? |
There's https://github.com/abenz1267/elephant-community where users can submit custom menus for elephant. They can be easily installed via |
OAuth is necessary but annoying to work with most of the time.
This PR adds a small script that lets you pick an OAuth/TOTP account from a .totp file using walker --dmenu. Once you select an account, it generates the current TOTP code and copies it to your clipboard.
Depends on
oathtool (oath-toolkit)
How it works:
Type in your OAuth code into the .totp file in your home directory like so:
Shows all account names from your secrets file in walker's dmenu
Generates a 6-digit TOTP code with oathtool from your selection
Copies the code to the clipboard
Sends a confirmation notification with the name and code or an error message
My personal keybinding is SUPER CONTROL, O (OAuth)
Why this is useful:
It makes accessing TOTP codes super easy without having to open a seperate app, pull out your phone, etc.
If this is of interest I can integrate with the menu under Setup > Security > OAuth