{"id":19435500,"url":"https://github.com/cssnr/auto-auth","last_synced_at":"2025-04-24T21:30:31.729Z","repository":{"id":252322146,"uuid":"839187684","full_name":"cssnr/auto-auth","owner":"cssnr","description":"HTTP Basic Auto Authentication Web Extension","archived":false,"fork":false,"pushed_at":"2024-09-07T19:32:02.000Z","size":239,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T11:23:05.653Z","etag":null,"topics":["chrome-extension","firefox-addon"],"latest_commit_sha":null,"homepage":"https://cssnr.github.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssnr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-07T06:05:18.000Z","updated_at":"2025-02-17T07:12:17.000Z","dependencies_parsed_at":"2024-08-09T02:10:36.179Z","dependency_job_id":"7650daa6-db70-446e-b85e-81ef8d87a6a1","html_url":"https://github.com/cssnr/auto-auth","commit_stats":null,"previous_names":["cssnr/auto-auth"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fauto-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fauto-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fauto-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fauto-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssnr","download_url":"https://codeload.github.com/cssnr/auto-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250712858,"owners_count":21475090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-extension","firefox-addon"],"created_at":"2024-11-10T15:06:45.383Z","updated_at":"2025-04-24T21:30:31.377Z","avatar_url":"https://github.com/cssnr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/gpoiggobidhogpmmlakahiaaegibnogm?logo=google\u0026logoColor=white\u0026label=users)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Mozilla Add-on Users](https://img.shields.io/amo/users/auto-auth?logo=mozilla\u0026label=users)](https://addons.mozilla.org/addon/auto-auth)\n[![Chrome Web Store Rating](https://img.shields.io/chrome-web-store/rating/gpoiggobidhogpmmlakahiaaegibnogm?logo=google\u0026logoColor=white)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Mozilla Add-on Rating](https://img.shields.io/amo/rating/auto-auth?logo=mozilla\u0026logoColor=white)](https://addons.mozilla.org/addon/auto-auth)\n[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/auto-auth?style=flat\u0026logo=github\u0026logoColor=white)](https://github.com/cssnr/auto-auth/stargazers)\n[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/gpoiggobidhogpmmlakahiaaegibnogm?label=chrome\u0026logo=googlechrome)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Mozilla Add-on Version](https://img.shields.io/amo/v/auto-auth?label=firefox\u0026logo=firefox)](https://addons.mozilla.org/addon/auto-auth)\n[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/auto-auth?logo=github\u0026logoColor=white)](https://github.com/cssnr/auto-auth/releases/latest)\n[![Build](https://img.shields.io/github/actions/workflow/status/cssnr/auto-auth/build.yaml?logo=github\u0026logoColor=white\u0026label=build)](https://github.com/cssnr/auto-auth/actions/workflows/build.yaml)\n[![Test](https://img.shields.io/github/actions/workflow/status/cssnr/auto-auth/test.yaml?logo=github\u0026logoColor=white\u0026label=test)](https://github.com/cssnr/auto-auth/actions/workflows/test.yaml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_auto-auth\u0026metric=alert_status\u0026label=quality)](https://sonarcloud.io/summary/overall?id=cssnr_auto-auth)\n[![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/auto-auth?logo=github\u0026logoColor=white\u0026label=updated)](https://github.com/cssnr/auto-auth/graphs/commit-activity)\n[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/auto-auth?logo=htmx\u0026logoColor=white)](https://github.com/cssnr/auto-auth)\n[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat\u0026logo=github\u0026logoColor=white\u0026label=org%20stars)](https://cssnr.github.io/)\n[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord\u0026logoColor=white\u0026label=discord\u0026color=7289da)](https://discord.gg/wXy6m2X8wY)\n\n# Auto Auth\n\nModern Chrome Web Extension and Firefox Browser Addon for Automatic Basic HTTP Authentication with many Options and\nFeatures.\n\nTo take it for a test drive, install the addon and head over to: https://authenticationtest.com/HTTPAuth/  \nthen enter the username `user` and password `pass`\n\n* [Install](#Install)\n* [Features](#Features)\n    - [Upcoming Features](#Upcoming-Features)\n    - [Known Issues](#Known-Issues)\n* [Configuration](#Configuration)\n* [Migration](#Migration)\n  -  [AutoAuth](#AutoAuth)\n  -  [Basic Authentication](#Basic-Authentication)\n  -  [Other or Manual](#Other-or-Manual)\n* [Security](#Security)\n* [Support](#Support)\n* [Development](#Development)\n    - [Building](#Building)\n* [Contributing](#Contributing)\n\n## Install\n\n* [Google Chrome Web Store](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n* [Mozilla Firefox Add-ons](https://addons.mozilla.org/addon/auto-auth)\n\n[![Chrome](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/chrome_48.png)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Firefox](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/firefox_48.png)](https://addons.mozilla.org/addon/auto-auth)\n[![Edge](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/edge_48.png)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Brave](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/brave_48.png)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Opera](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/opera_48.png)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n[![Chromium](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/chromium_48.png)](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\n\nAll **Chromium** Based Browsers can install the extension from\nthe [Chrome Web Store](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm).\n\n## Features\n\n- Save Logins for HTTP Basic Authentication\n- Automatically Login with Saved Credentials\n- Option to Ignore Specific Hosts\n- Notification on Invalid Credentials\n- View, Delete and Edit Saved Credentials\n- Option to Ignore Proxy Authentication\n- Option to Temporarily Disable\n- Ability to Import/Export Credentials\n- Toolbar Status for Enabled Hosts\n- Icon Colors for Extension Status\n\n### Upcoming Features\n\n- Save Multiple Credentials for a Single Host\n- Manually Add Saved Credentials\n- Toggle to Match Any Port for Host\n\nLong-term Goals for Improved Security:\n\n- Add Optional Password Encryption Feature\n- Add a Sync Service for Cross-Browser Synchronization\n\n\u003e [!TIP]\n\u003e **Don't see your feature here?**\n\u003e Request one on\n\u003e the [Feature Request Discussion](https://github.com/cssnr/auto-auth/discussions/categories/feature-requests).\n\n### Known Issues\n\n* Only allows saving 1 set of credentials per host\n* Most browsers will offer to save passwords on login and edit\n* A 401 response from a Service Worker is not properly intercepted:\n    - Firefox: Shows a generic 401 page, use `Ctrl+F5`\n        * Once credentials are saved, requests will work as normal.\n    - Chrome: Shows a default credentials prompt, Cancel and press `Ctrl+F5`\n        * This behavior may continue after saving credentials.\n\n\u003e [!TIP]\n\u003e **Don't see your issue here?**\n\u003e Open one on the [Issues](https://github.com/cssnr/auto-auth/issues).\n\n## Configuration\n\nYou can pin the Addon by clicking the `Puzzle Piece`, find the Auto Auth icon, then;  \n**Chrome,** click the `Pin` icon.  \n**Firefox,** click the `Settings Wheel` and `Pin to Toolbar`.\n\nTo open the options, click on the icon (from above) then click `Open Options`.  \nYou can also access `Options` through the right-click context menu (enabled by default).\n\n## Migration\n\nMigration Guides from Other Web Extensions and manual import instructions.\n\n[AutoAuth](#AutoAuth) | [Basic Authentication](#Basic-Authentication) | [Other or Manual](#Other-or-Manual)\n\n### AutoAuth\n\nFirefox: Migration from: [steffanschlein/AutoAuth](https://github.com/steffanschlein/AutoAuth)\n\n1. Open Addons Management (about:addons) `Ctrl+Shift+A`\n2. Find AutoAuth, click the 3 dots, then click Options\n3. Open Developer Tools `Ctrl+Shift+I` and go to Console tab\n4. Enter the following code: `await browser.storage.local.get()`\n5. Right-click on the resulting output and choose `Copy Object`\n6. Go to the Options Page (for this extension) and click `Import Text`\n7. Paste the copied text into the textarea and click `Import`\n\n### Basic Authentication\n\nChrome: Migration\nfrom: [Basic Authentication](https://chromewebstore.google.com/detail/nanfgbiblbcagfodkfeinbbhijihckml)\n\n1. Go To this URL: `chrome-extension://nanfgbiblbcagfodkfeinbbhijihckml/options.html`\n2. Open Developer Tools `Ctrl+Shift+I` and go to Console tab\n3. Enter the following code: `await chrome.storage.local.get()`\n4. Right-click on the resulting output and choose `Copy Object`\n5. Go to the Options Page (for this extension) and click `Import Text`\n6. Paste the copied text into the textarea and click `Import`\n\nNote: Basic Authentication uses url match patterns vs hostnames. This import will attempt to parse the match pattern to\na hostname; however, if the full hostname is not provided, may not import correctly. You can always edit the credentials\nmanually or save new ones on the next login.\n\n### Other or Manual\n\nTo manually migrate from other data exports you need to convert the data into a compatible JSON format.\nYou can do this yourself, or get ChatGPT to convert the data for you. Convert the data to this JSON format:\n\n```json\n{\n    \"example.com\": \"username:password\",\n    \"ignored.example.com\": \"ignored\"\n}\n```\n\nTo import the data, visit the extension's Options Page, click `Import Text` and paste the JSON text.\n\nYou can also [request a migration](https://github.com/cssnr/auto-auth/discussions/categories/feature-requests) be added\nfor your extension. If it is popular enough, it might get added.\n\n## Security\n\nSince there is no API to manage or store credentials securely, usernames and passwords are stored in the web\nextension's [sync storage](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync).\nThis will sync your credentials to all browsers you are logged into if sync is enabled for addons. Therefore, any\ncomputers you use a synced browser on will write the credentials to the file system in plain text.\n\nIf there is enough popularity/requests for these features, there are a couple options to mitigate this:\n\n- Option to switch between sync and local storage to limit credentials to a single computer.\n- Option to encrypt credentials using a password that must be entered once every session.\n\n## Support\n\nFor help using the web extension, see:\n\n- Documentation: https://auto-auth.cssnr.com/docs/\n- Q\u0026A Discussion: https://github.com/cssnr/auto-auth/discussions/categories/q-a\n- Request a Feature: https://github.com/cssnr/auto-auth/discussions/categories/feature-requests\n\nIf you are experiencing an issue/bug or getting unexpected results, you can:\n\n- Report an Issue: https://github.com/cssnr/auto-auth/issues\n- Chat with us on Discord: https://discord.gg/wXy6m2X8wY\n- Provide General Feedback: https://cssnr.github.io/feedback\n\nLogs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and;\nFirefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.\n\nTo support this project, see the [Contributing](#Contributing) section at the bottom.\n\n# Development\n\n**Quick Start**\n\nFirst, clone (or download) this repository and change into the directory.\n\nSecond, install the dependencies:\n\n```shell\nnpm install\n```\n\nFinally, to run Chrome or Firefox with web-ext, run one of the following:\n\n```shell\nnpm run chrome\nnpm run firefox\n```\n\nAdditionally, to Load Unpacked/Temporary Add-on make a `manifest.json` and run from the [src](src) folder, run one of\nthe following:\n\n```shell\nnpm run manifest:chrome\nnpm run manifest:firefox\n```\n\nChrome: [https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked](https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked)  \nFirefox: [https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/)\n\nFor more information on\nweb-ext, [read this documentation](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/).  \nTo pass additional arguments to an `npm run` command, use `--`.  \nExample: `npm run chrome -- --chromium-binary=...`\n\n## Building\n\nInstall the requirements and copy libraries into the `src/dist` directory by running `npm install`.\nSee [gulpfile.js](gulpfile.js) for more information on `postinstall`.\n\n```shell\nnpm install\n```\n\nTo create a `.zip` archive of the [src](src) directory for the desired browser run one of the following:\n\n```shell\nnpm run build\nnpm run build:chrome\nnpm run build:firefox\n```\n\nFor more information on building, see the scripts section in the [package.json](package.json) file.\n\n### Chrome Setup\n\n1. Build or Download a [Release](https://github.com/cssnr/auto-auth/releases).\n1. Unzip the archive, place the folder where it must remain and note its location for later.\n1. Open Chrome, click the `3 dots` in the top right, click `Extensions`, click `Manage Extensions`.\n1. In the top right, click `Developer Mode` then on the top left click `Load unpacked`.\n1. Navigate to the folder you extracted in step #3 then click `Select Folder`.\n\n### Firefox Setup\n\n1. Build or Download a [Release](https://github.com/cssnr/auto-auth/releases).\n1. Unzip the archive, place the folder where it must remain and note its location for later.\n1. Go to `about:debugging#/runtime/this-firefox` and click `Load Temporary Add-on...`\n1. Navigate to the folder you extracted earlier, select `manifest.json` then click `Select File`.\n1. Optional: open `about:config` search for `extensions.webextensions.keepStorageOnUninstall` and set to `true`.\n\nIf you need to test a restart, you must pack the addon. This only works in ESR, Development, or Nightly.\nYou may also use an Unbranded\nBuild: [https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds)\n\n1. Run `npm run build:firefox` then use `web-ext-artifacts/{name}-firefox-{version}.zip`.\n1. Open `about:config` search for `xpinstall.signatures.required` and set to `false`.\n1. Open `about:addons` and drag the zip file to the page or choose Install from File from the Settings wheel.\n\n# Contributing\n\nCurrently, the best way to contribute to this project is to give a 5-star rating\non [Google](https://chromewebstore.google.com/detail/auto-auth/gpoiggobidhogpmmlakahiaaegibnogm)\nor [Mozilla](https://addons.mozilla.org/addon/auto-auth) and to star this project on GitHub.\n\nOther Web Extensions I have created and published:\n\n- [Link Extractor](https://github.com/cssnr/link-extractor)\n- [Open Links in New Tab](https://github.com/cssnr/open-links-in-new-tab)\n- [Auto Auth](https://github.com/cssnr/auto-auth)\n- [Cache Cleaner](https://github.com/cssnr/cache-cleaner)\n- [HLS Video Downloader](https://github.com/cssnr/hls-video-downloader)\n- [SMWC Web Extension](https://github.com/cssnr/smwc-web-extension)\n- [PlayDrift Extension](https://github.com/cssnr/playdrift-extension)\n- [ASN Plus](https://github.com/cssnr/asn-plus)\n- [Aviation Tools](https://github.com/cssnr/aviation-tools)\n- [Text Formatter](https://github.com/cssnr/text-formatter)\n\nFor a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssnr%2Fauto-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssnr%2Fauto-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssnr%2Fauto-auth/lists"}