Use the security scheme
Configure Security Schemes at the Folder Level
Select any folder, click the 
Auth
tab on the right, and choose Security Scheme
as the authentication type.Select the desired 
Security Scheme
from the dropdown menu.If you choose OAuth 2.0 as the security scheme, you can further select the required 
Scopes
.Configure Security Schemes at the Endpoint Level
Select any endpoint and go to the 
Edit
tab on the right. At the Request
section, choose Security Scheme
as the authorization type.Select the desired 
Security Scheme
from the dropdown menu.If you choose OAuth 2.0 as the security scheme, you can further select the required 
Scopes
.Set Default Values for Security Scheme
Choose a security scheme from the list and set a 
Default Auth Values
.Fill in values based on the authentication type:API Key:Enter your key Basic Auth:Enter username and password Bearer Token:Enter the token OAuth 2.0:Enter client ID, client secret, etc. Other methods: Fill in corresponding values
Inherit & Customize Auth Values
1.
2.
Use Multiple Security Schemes
+
button in the Auth
settings to add more security schemes.Choosing Scopes for OAuth 2.0 Security Scheme
Scopes
should be defined. When using it in an endpoint, you must select the required scopes.In the endpoint’s
Auth
settings, select OAuth 2.0.Under the 
Scopes
section, you can view all available scopes defined by the security scheme and select the ones needed.If the endpoint inherits scopes from a parent folder, you can click 
Reset the scopes to the configuration of the parent folder
to revert to the parent configuration.Debugging Endpoints with OAuth 2.0 Security Scheme
Get Token at the Folder
Level as the Default Auth Value
Select a folder, go to the 
Auth
tab, choose an OAuth 2.0 security scheme, select scopes and grant type, then click Get Token
.In the pop-up panel:Enter the client ID, client secret, etc. Click 
Continue
After getting the token, you can view its details, including when it expires. This token can be used across all endpoints in the folder.
Get Token at the Endpoint Level as the Default Auth Value
Select the desired endpoint, go to 
Edit
, choose an OAuth 2.0 security scheme, and click Get Token
.In the pop-up panel:Enter the client ID, client secret, etc. Click 
Continue
Use a Default Token or Generate a New One for Endpoint Debugging
Auth
tab under the Run
panel. Select Use Parent Default Auth Values
. The default auth token configured in the parent folder will be automatically applied to the endpoint request.When running an endpoint, go to the 
Auth
tab under the Run
panel. Select Set Manually
. Click Get Token
to open the token generation panel.In the pop-up panel:Enter the client ID, client secret, etc. Click 
Continue
Modified at 2025-04-25 11:25:55