Skip to content

Instantly share code, notes, and snippets.

@gregory-seidman
Last active March 11, 2024 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0 to your computer and use it in GitHub Desktop.
Save gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name AWS Close SSO success
// @namespace https://gist.github.com/gregory-seidman/dd8b7a93f4603ef3e484c82d45809a95
// @version 1.0.2
// @description Close the tab after successfully logging in via SSO
// @downloadURL https://gist.github.com/gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0/raw/aws_close_sso_success.user.js
// @updateURL https://gist.github.com/gregory-seidman/b316b877975cb8d3010a7e18e3b1b7b0/raw/aws_close_sso_success.user.js
// @author Gregory Seidman
// @match https://*.awsapps.com/start/user-consent/login-scoped-success.html?*
// @icon https://www.google.com/s2/favicons?sz=64&domain=awsapps.com
// @grant window.close
// ==/UserScript==
(function() {
'use strict';
window.close();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment