Skip to end of banner
Go to start of banner

Anonymous Authenticator

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Allows anonymous access to a Task. The user’s roles are taken from the API policy’s configuration.

Authentication Policy Requirement

All Authentication policies require the Authorize By Role policy to authenticate the API caller correctly. For example, you can configure this policy to add the role “admin” to the client and then configure the Authorize By Role policy to authorize users with that role.

Expression Enabled Fields in API Policies

All expression enabled fields take expressions from the SnapLogic Expression Language and the API Policy Manager functions.

Parameter NameDescriptionDefault ValueExample
LabelRequired. The name for the API policy.Anonymous AuthenticatorProject - Anonymous Authenticator
When this policy should be applied

An expression enabled field that determines the condition to be fulfilled for the API policy to execute.

For example, if the value in this field is request.method == "POST", the API policy is executed only if the request method is a POST.

N/Arequest.method == "POST"
Roles

RequiredA list of role names to be assigned to the client making the request. Click + to add roles.

  • Blank role names are ignored.
  • An error is displayed if a duplicate role name is found. 
  • The role names specified can be checked in other API policies such as Client Throttling or Authorize By Role.
N/AN/A
Role

The name of the role.

anonymousanonymous
Status

Specifies whether the API policy is enabled or disabled. 

EnabledDisabled

Best Practices

Since this API policy allows anonymous access include a Client Throttling policy to restrict the number of anonymous requests to prevent a Snaplex from being overloaded by too many requests.


  • No labels