service.jwt.bearer

Syntax

service.jwt.bearer = "string"

The default value: header,query_param,post_param,cookie

Definition

The comma separated list of locations to look for a JWT token. When JWT Tokens service is enabled, AAM uses the list of provided places to search for JWT token that can be used to authenticate the HTTP request. This entire functionality is automatically invoced when WordPress core triggers the determine_current_user filter.

A JWT token can be passed as:

In the example configurations below, AAM will attempt to extract the JWT token only from HTTP headers and query param.

[aam]
service.jwt.bearer = "header,query_param"