Last active
July 25, 2025 12:36
-
-
Save hawkrives/ebb1ebc6b3303c6d59c1cd3a00b3476a to your computer and use it in GitHub Desktop.
Automated AWS SSO CLI - Login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Automated AWS SSO CLI - Login | |
// @namespace http://glencoakley.org | |
// @match https://*.awsapps.com/start/user-consent/authorize.html?clientId=* | |
// @grant none | |
// @version 1.0 | |
// @author Glen Coakley | |
// @description Automatically presses the "Sign in to AWS CLI" button. Inspired by Nicholas Hawkes' "Auto AWS SSO CLI - Login" at https://gist.github.com/hawkesnc/ae9fc22fc5d17ac250f6376b0591161c | |
// @homepage https://gist.github.com/GlenCoakley/d3a82a41b2e578b29875625ec6ffa11e | |
// ==/UserScript== | |
function click_it() { | |
let login = document.querySelector('#cli_login_button'); | |
if (login) { | |
login.click(); | |
} else { | |
setTimeout(click_it, 500); | |
} | |
} | |
window.onload = () => setTimeout(click_it, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there I'm Mark and I used a writing service to help with my research project, and I couldn't be happier with the results! I highly recommend checking them out. Just remember, it's worth it https://mypaper24.com/pay-for-research-paper/ to pay for a research paper when you get such great support! The writer was incredibly knowledgeable and delivered a high-quality paper that exceeded my expectations. If you're feeling overwhelmed with your assignments,