I need to be able to login into 2 different O365 tenants. This is a bit of a pain, since the login window is the very same - and based on your identity, you will be “redirected” to your proper O365 platform.
So if I type https://portal.office.com, I can chose between (at least) 2 different identities to login with.
How can I use Keyboard Maestro to pick one identity over the other as part of the macro?
There may be a way to do it via JavaScript, but it would require looking at the HTML to see if you can find something you can “target”.
If you can “View Source” and find the relevant section and post a snippet of it to the forum, that might help. Pro tip: put three “backticks” (this --> ` ) before and after the HTML you paste in, and it will format it
like this
which will be easier to read
The 3 backticks need to be on a line by themselves to work that way.
It is a German tutorial, but just watching the video is pretty self explanatory:
He even goes the extra mile to open 1Password, wait for the TouchID unlock, if it isn’t unlocked already and grab the login data from there.
On his channel there also is a version without 1Password that only uses the macOS keychain.