diff --git a/plugins/action-copy-grpcurl/package.json b/plugins/action-copy-grpcurl/package.json index 7967ce79..0de0d2aa 100644 --- a/plugins/action-copy-grpcurl/package.json +++ b/plugins/action-copy-grpcurl/package.json @@ -5,7 +5,7 @@ "repository": { "type": "git", "url": "https://github.com/mountain-loop/yaak.git", - "directory": "plugins/action-copy-curl" + "directory": "plugins/action-copy-grpcurl" }, "private": true, "version": "0.1.0", diff --git a/plugins/auth-basic/README.md b/plugins/auth-basic/README.md new file mode 100644 index 00000000..2ea322b0 --- /dev/null +++ b/plugins/auth-basic/README.md @@ -0,0 +1,44 @@ +# Basic Authentication + +A simple Basic Authentication plugin that implements HTTP Basic Auth according +to [RFC 7617](https://datatracker.ietf.org/doc/html/rfc7617), enabling secure +authentication with username and password credentials. + +![Screenshot of basic auth UI](screenshot.png) + +## Overview + +This plugin provides HTTP Basic Authentication support for API requests in Yaak. Basic +Auth is one of the most widely supported authentication methods, making it ideal for APIs +that require simple username/password authentication without the complexity of OAuth +flows. + +## How Basic Authentication Works + +Basic Authentication encodes your username and password credentials using Base64 encoding +and sends them in the `Authorization` header with each request. The format is: + +``` +Authorization: Basic +``` + +Where `` is the Base64 encoding of `username:password`. + +## Configuration + +The plugin presents two fields: + +- **Username**: Username or user identifier +- **Password**: Password or authentication token + +## Usage + +1. Configure the request, folder, or workspace to use Basic Authentication +2. Enter your username and password in the authentication configuration +3. The plugin will automatically add the proper `Authorization` header to your requests + +## Troubleshooting + +- **401 Unauthorized**: Verify your username and password are correct +- **403 Forbidden**: Check if your account has the necessary permissions +- **Connection Issues**: Ensure you're using HTTPS for secure transmission diff --git a/plugins/auth-basic/package.json b/plugins/auth-basic/package.json index 18ec32bf..8dd9bce8 100644 --- a/plugins/auth-basic/package.json +++ b/plugins/auth-basic/package.json @@ -2,6 +2,11 @@ "name": "@yaak/auth-basic", "displayName": "Basic Authentication", "description": "Authenticate requests using Basic Auth", + "repository": { + "type": "git", + "url": "https://github.com/mountain-loop/yaak.git", + "directory": "plugins/auth-basic" + }, "private": true, "version": "0.1.0", "scripts": { diff --git a/plugins/auth-basic/screenshot.png b/plugins/auth-basic/screenshot.png new file mode 100644 index 00000000..ef8262d0 Binary files /dev/null and b/plugins/auth-basic/screenshot.png differ