Skip to content

cssnr/auto-auth

Repository files navigation

Chrome Web Store Users Mozilla Add-on Users Chrome Web Store Rating Mozilla Add-on Rating Chrome Web Store Version Mozilla Add-on Version GitHub Release Version GitHub Locales Deployment Chrome Deployment Mozilla Quality Gate Status Workflow Build Workflow Lint GitHub Last Commit GitHub Repo Size GitHub Top Language GitHub Contributors GitHub Issues GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

Auto Auth

Auto Auth

Modern Chrome Web Extension and Firefox Browser Addon for Automatic Basic HTTP Authentication with many Options and Features.

This extension replaces the native browser auth authentication popup with a customizable login page allowing you to optionally save your credentials when logging in. You can also import/export credentials, manually add credentials or import directly from other extensions.

To take it for a test drive, install the addon and head over to: https://authenticationtest.com/HTTPAuth/
Then enter the username user and password pass.

Tip

This is the new TypeScript+Vue branch.
For the deprecated JavaScript version, see the legacy branch.

New Feature Highlights

  • The Credentials Table supports inline editing by clicking on any cell.
  • The username and password columns and their values can be shown or hidden.
  • A new Side Panel and Extension Panel UI plus a new migration from MultiPass.

See the release notes for a complete list of improvements and fixes.

Install

Chrome Firefox Edge Brave Opera Chromium

All Chromium Based Browsers can install the extension from the Chrome Web Store.

📷 Mozilla Firefox Android QR Code

QR Code Firefox

📷 Google Chrome Web Store QR Code

QR Code Chrome

Features

  • Save Logins for HTTP Basic Authentication
  • Automatically Login with Saved Credentials
  • Option to Ignore Hosts and Save for Session
  • View, Delete and Edit Credentials from the UI
  • Includes Options, Side Panel, Popup and Panel
  • Custom Column Visibility with Click-to-Edit
  • Option to Ignore Proxy Authentication
  • Option to Temporarily Disable
  • Ability to Import/Export Credentials
  • Supports Migrations from Other Extensions
  • Toolbar Status for Enabled Hosts
  • Icon Colors for Extension Status

Languages

The extension is localized in the following languages:

  • Chinese (China) zh_CN - 中文(简体)
  • English en - English
  • French fr - Français
  • German de - Deutsch
  • Japanese ja - 日本語
  • Korean ko - 한국어
  • Portuguese (Brazil) pt_BR - Português (Brasil)
  • Portuguese (Portugal) pt_PT - Português (Portugal)
  • Russian ru - Русский
  • Spanish es_419 - Español

The only way to change the language is to change your browser's language and restart the browser.

To view or edit the locales, see the related file in the src/locales directory.

Upcoming Features

  • Save Multiple Credentials for a Single Host
  • Manually Add Saved Credentials
  • Toggle to Match Any Port for Host

Long-term Goals for Improved Security:

  • Add Optional Password Encryption Feature

Tip

Don't see your feature here? Submit a Feature Request.

Known Issues

  • Usernames with the character : will not work.
  • Only allows saving 1 set of credentials per host.
  • Many browsers will offer to save passwords on login and edit.
  • Incognito and Private Browsing will not allow logging into new sites.
    • You must save the credentials first or add them manually.
  • A 401 response from a Service Worker is not properly intercepted:
    • Firefox: Shows a generic 401 page, use Ctrl+F5
      • Once credentials are saved, requests will work as normal.
    • Chrome: Shows a default credentials prompt, Cancel and press Ctrl+F5
      • This behavior may continue after saving credentials.

Tip

Don't see your issue here? Open a New Issues.

Migration

Migration Guides from Other Web Extensions and manual import instructions.

MultiPass | AutoAuth | Basic Authentication | Other or Manual

MultiPass

Firefox/Chrome Migration from krtek4/MultiPass

  1. Open the MultiPass Options
  2. Click: Download credentials as JSON file.
  3. Open the Auto Auth Options and click Import File
  4. Select the file from exported in Step #2

AutoAuth

Firefox Migration from: steffanschlein/AutoAuth

  1. Open Addons Management (about:addons) Ctrl+Shift+A
  2. Find AutoAuth, click the 3 dots, then click Options
  3. Open Developer Tools Ctrl+Shift+I and go to Console tab
  4. Enter the following code: await browser.storage.local.get()
  5. Right-click on the resulting output and choose Copy Object
  6. Go to the Options Page (for this extension) and click Import Text
  7. Paste the copied text into the textarea and click Import

Basic Authentication

Chrome Migration from: Basic Authentication

  1. Go To this URL: chrome-extension://nanfgbiblbcagfodkfeinbbhijihckml/options.html
  2. Open Developer Tools Ctrl+Shift+I and go to Console tab
  3. Enter the following code: await chrome.storage.local.get()
  4. Right-click on the resulting output and choose Copy Object
  5. Go to the Options Page (for this extension) and click Import Text
  6. Paste the copied text into the textarea and click Import

Note: Basic Authentication uses url match patterns vs hostnames. This import will attempt to parse the match pattern to a hostname; however, if the full hostname is not provided, may not import correctly. You can always edit the credentials manually or save new ones on the next login.

Other or Manual

To manually migrate from other data exports you need to convert the data into a compatible JSON format. You can do this yourself, or get AI to convert the data format for you. Convert the data to this JSON format:

{
  "example.com": "username:password",
  "ignored.example.com": "ignored"
}

To import the data, visit the extension's Options Page, click Import Text and paste the JSON text.

You can also request a migration be added for your extension. If it is popular enough, it might get added.

Security

Since there is no API to manage or store credentials securely, usernames and passwords are stored in the web extension's sync storage. This will sync your credentials to all browsers you are logged into if sync is enabled for addons. Therefore, any computers you use a synced browser on will write the credentials to the file system in plain text.

If there is enough popularity/requests for these features, there are a couple options to mitigate this:

  • Option to switch between sync and local storage to limit credentials to a single computer.
  • Option to encrypt credentials using a password that must be entered once every session.

For more information see the PRIVACY.md.

Support

Logs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and; Firefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.

If you run into any issues or need help getting started, please do one of the following:

Features Issues Discussions Discord

Contributing

For instructions on building or developing, see the CONTRIBUTING.md.

Please consider making a donation to support the development of this project and additional open source projects.

Ko-fi

Additionally, you can give a 5-star rating on Google or Mozilla and star this project on GitHub.

Other Web Extensions I have created and published:

For a full list of current projects visit: https://cssnr.github.io/

Star History Chart

About

Modern Chrome Web Extension and Firefox Browser Addon for Automatic Basic HTTP Authentication with many Options and Features.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors