Create a security scheme
1.
2.
Authorization: Bearer
header.3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Creating Security Schemes Manually
In your project, navigate to 
Components
β Security Schemes
at the left sidebar, then click New Security Scheme
.Select the security scheme type and fill in the name and relevant configuration.
Click 
Save
to complete the creation process.In the editing view of the security scheme, click 
The system will display the OAS (OpenAPI Specification) code for the current security scheme, available in both JSON and YAML formats. 
You can directly edit here to define more complex specifications. The system will update the security scheme settings based on your changes.
Advanced Configuration
at the bottom of the page.Creating Security Schemes via OAS Import
Security Schemes
list.If security schemes are referenced to specific endpoints or set globally in the OpenAPI file, Apidog will not automatically apply them. After importing the file, you will need to manually assign the security schemes to the relevant endpoints.
Creating OAuth 2.0 Security Scheme
1.
Authorization Code
, Client Credentials
, Implicit
, or Password
.2.
3.
4.
Test
button to open the test panel. Fill in the Client ID
, Client Secret
, and other required fields to test and verify your OAuth 2.0 configuration.Modified atΒ 2025-04-25 11:25:55