Swagger UI Authorizer

Latest Version

Version
0.8.0
Update
January 30, 2025
Size
997KiB
Developer
Category
Users
8
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Swagger UI Authorizer Extension

(BETA VERSION)

Browser extension that performs automatic authorization of requests before executing them on Swagger UI pages. Enables only when web page contains #swagger-ui selector (refresh Swagger UI web page after extension installation to turn it on)

You can create multiple authorization profiles and change them as needed.

The extension also allows you to see the value of the current authorization tokens.

Currently works only with OpenAPI 3.x and bearer token.

Future features:
- profiles with static auth token (API keys, constant tokens e.t.c)
- syncing profiles between devices
- basic authentication support
- quick access to authorization profiles using hot keys or floating button or selector in default authorization modal (haven't decided yet)

If you think this extension might be useful to you, but it doesn't work in your case, write to me, maybe I can help.

Extension keeps your authorization data only in your browser and sends it only to your servers. I don't need it at all, I have things to do without your passwords.

If you don't trust, you can check source code: (https://github.com/rodewitsch/swagger-ui-authorizer)
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Swagger UI Authorizer", "description": "Swagger UI Authorizer", "version": "0.8.0", "icons": { "16": "/assets/images/icons/icon16.png", "48": "/assets/images/icons/icon48.png", "128": "/assets/images/icons/icon128.png" }, "content_scripts": [ { "world": "MAIN", "css": [ "content/style.css" ], "js": [ "node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js", "core.js", "content/store.js", "content/content.js", "content/components/authModal/authModal.js", "content/components/authModal/authBlock/authBlock.js", "content/components/authModal/authBlock/authBlockProfile/authBlockProfile.js", "content/components/authModal/authBlock/authBlockProfile/authBlockProfileRequestType.js" ], "matches": [ "" ], "run_at": "document_idle" }, { "js": [ "content/isolatedContent.js" ], "matches": [ "" ], "run_at": "document_idle" } ], "web_accessible_resources": [ { "resources": [ "/content/**/*.css" ], "matches": [ "" ] } ], "permissions": [ "storage" ]}
Read more

How to download and manually install Swagger UI Authorizer extension for Chrome

Looking for a way to install Swagger UI Authorizer extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Swagger UI Authorizer extensions manually, this article outlines two simple methods to effortlessly install Swagger UI Authorizer extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Swagger UI Authorizer extension and manually install through Drag &Drop

If you ever need to manually install a Swagger UI Authorizer extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Swagger UI Authorizer Extension by clicking the "Download CRX" button on the website.

Look for the Swagger UI Authorizer extension you wish to install. Go to the website and download the Swagger UI Authorizer extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Swagger UI Authorizer extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Swagger UI Authorizer extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Swagger UI Authorizer extension for Chrome and install in Developer Mode

This is another method to install Swagger UI Authorizer extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Swagger UI Authorizer extension file

Select and download the Swagger UI Authorizer extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Swagger UI Authorizer extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Swagger UI Authorizer extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Swagger UI Authorizer extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Swagger UI Authorizer extension in 2 ways. We hope this guide proves helpful.

Similar Extensions