Skip to content

feat: add atg auth docs#783

Merged
TvisharajiK merged 2 commits intomainfrom
atg_auth
Feb 5, 2026
Merged

feat: add atg auth docs#783
TvisharajiK merged 2 commits intomainfrom
atg_auth

Conversation

@charankamarapu
Copy link
Contributor

This pull request adds documentation for setting up authentication in API testing for Keploy, making it easier for users to understand how to configure auth mechanisms during test generation and execution. It also updates the sidebar to include this new guide.

New documentation:

  • Added a new guide api-testing-auth-setup.md that explains how to set up authentication for API testing, including login API and bearer token methods.

Documentation navigation update:

  • Updated the sidebar configuration (version-4.0.0-sidebars.json) to include the new "Auth Setup" documentation under the "running-keploy" section.

Signed-off-by: Charan Kamarapu <kamarapucharan@gmail.com>
Copilot AI review requested due to automatic review settings February 5, 2026 08:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation for configuring authentication in Keploy's API testing feature. The new guide explains how to set up authentication mechanisms (Login API and Bearer Token) for test generation and execution.

Changes:

  • Added comprehensive authentication setup guide covering login API and bearer token methods
  • Updated sidebar navigation to include the new auth setup documentation

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 8 comments.

File Description
versioned_docs/version-4.0.0/running-keploy/api-testing-auth-setup.md New documentation page explaining authentication setup for API testing with Login API and Bearer Token options
versioned_sidebars/version-4.0.0-sidebars.json Added entry for the new auth setup documentation in the running-keploy section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


<ProductTier tiers="Free, Teams, Scale, Enterprise" offerings="Self-Hosted, Dedicated" />

This guide will help you setup your application Auth in API Test Generation and Run
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When "setup" is used as a verb, it should be two words: "set up". The noun form "setup" is correct when used as a noun (e.g., "Auth Setup" in the title), but when describing an action, it should be "set up".

Suggested change
This guide will help you setup your application Auth in API Test Generation and Run
This guide will help you set up your application Auth in API Test Generation and Run

Copilot uses AI. Check for mistakes.
![Keploy](../../../static/img/login-curl.png)


This Auth option is for the application which provides a login API. The testing platform will execute this login API when ever the auth token is required and use it in the API calls either in generation or run.
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"when ever" should be written as one word: "whenever".

Suggested change
This Auth option is for the application which provides a login API. The testing platform will execute this login API when ever the auth token is required and use it in the API calls either in generation or run.
This Auth option is for the application which provides a login API. The testing platform will execute this login API whenever the auth token is required and use it in the API calls either in generation or run.

Copilot uses AI. Check for mistakes.

This Auth option is for the application which provides a login API. The testing platform will execute this login API when ever the auth token is required and use it in the API calls either in generation or run.

JWT Token - The platform will execute this API and take the token from the json response value with the key "token" or "access_token" or "jwt"
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with technical documentation standards, "json" should be capitalized as "JSON" when referring to the data format.

Suggested change
JWT Token - The platform will execute this API and take the token from the json response value with the key "token" or "access_token" or "jwt"
JWT Token - The platform will execute this API and take the token from the JSON response value with the key "token" or "access_token" or "jwt"

Copilot uses AI. Check for mistakes.

This Auth option is for the application which provides a login API. The testing platform will execute this login API when ever the auth token is required and use it in the API calls either in generation or run.

JWT Token - The platform will execute this API and take the token from the json response value with the key "token" or "access_token" or "jwt"
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with technical documentation standards, "jwt" should be capitalized as "JWT" when referring to the authentication token type.

Copilot uses AI. Check for mistakes.

![Keploy](../../../static/img/jwt.png)

This Auth option is for the application which can be authenticated using jwt token. This token is used in all the API calls that are done by the platform to the application.
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with technical documentation standards, "jwt" should be capitalized as "JWT" when referring to the authentication token type.

Suggested change
This Auth option is for the application which can be authenticated using jwt token. This token is used in all the API calls that are done by the platform to the application.
This Auth option is for the application which can be authenticated using JWT token. This token is used in all the API calls that are done by the platform to the application.

Copilot uses AI. Check for mistakes.
Comment on lines +8 to +18
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tags in the frontmatter are not relevant to authentication setup. These tags ("webhooks", "custom validation", "policy enforcement") appear to be copied from the webhook documentation. The tags should reflect the authentication-related content of this document, such as "authentication", "auth", "bearer token", "login API", etc.

Suggested change
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
- authentication
- auth
- bearer token
- login API
keywords:
- authentication
- auth
- bearer token
- login API
- JWT
- cookie
- access token

Copilot uses AI. Check for mistakes.
Comment on lines +8 to +18
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The keywords in the frontmatter are not relevant to authentication setup. These keywords ("webhook", "PreExecute", "PostExecute", "external validation", "custom logic") appear to be copied from the webhook documentation. The keywords should reflect the authentication-related content of this document, such as "authentication", "bearer token", "JWT", "login", "auth setup", etc.

Suggested change
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
- authentication
- auth setup
- JWT
- bearer token
keywords:
- authentication
- auth setup
- login
- JWT
- bearer token
- cookie auth

Copilot uses AI. Check for mistakes.

import ProductTier from '@site/src/components/ProductTier';

<ProductTier tiers="Free, Teams, Scale, Enterprise" offerings="Self-Hosted, Dedicated" />
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tier specification uses "Teams" but other documentation files in this repository use "Team" (without the 's'). For consistency, this should be "Team" to match the pattern seen in api-testing-cicd.md and generate-api-tests-using-ai.md which use "Free, Team, Scale, Enterprise".

Copilot uses AI. Check for mistakes.
Signed-off-by: Charan Kamarapu <kamarapucharan@gmail.com>
@TvisharajiK TvisharajiK self-requested a review February 5, 2026 09:13
Copy link
Contributor

@TvisharajiK TvisharajiK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@TvisharajiK TvisharajiK merged commit d7a5b40 into main Feb 5, 2026
5 of 7 checks passed
@TvisharajiK TvisharajiK deleted the atg_auth branch February 5, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants