You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| jwt | Java Web Token (JWT) ||| X | Based on JWT claims. Supported under <li>.declaration.http.server[]</li><li>.declaration.http.server[].location[]</li><li>.declaration.http.server[].location[].apigateway</li> |
80
+
81
+
#### Examples
82
+
83
+
Client-side authorization profiles to be defined under `.declaration.http.authorization`
84
+
85
+
- jwt client authorization profile
86
+
87
+
```json
88
+
{
89
+
"name": "<PROFILE_NAME>",
90
+
"type": "jwt",
91
+
"jwt": {
92
+
"claims": [
93
+
{
94
+
"name": "<CLAIM_NAME>",
95
+
"value": [
96
+
"<AUTHORIZED_VALUE_OR_REGEXP>"
97
+
],
98
+
"errorcode": <OPTIONAL_ERROR_CODE_401_OR_403>
99
+
}
100
+
]
101
+
}
102
+
}
103
+
```
104
+
75
105
### Upstream and Source of truth authentication
76
106
77
107
| Type | Description | API v4.0 | API v4.1 | API v4.2 | Notes |
-`developer_portal.uri` - the trailing part of the Developer portal URI, this is appended to `.declaration.http.servers[].locations[].uri`. If omitted it defaults to `devportal.html`
118
-
-`authentication` - optional, used to enforce JWT authentication at the API Gateway level
119
-
-`authentication.client` - JWT authentication profile name
120
-
-`authentication.enforceOnPaths` - if set to `true` JWT authentication is enforced on all API endpoints listed under `authentication.paths`. if set to `false` JWT authentication is enforced on all API endpoints but those listed under `authentication.paths`
118
+
-`authentication` - optional, used to enforce authentication at the API Gateway level
-`authentication.enforceOnPaths` - if set to `true` authentication is enforced on all API endpoints listed under `authentication.paths`. if set to `false` authentication is enforced on all API endpoints but those listed under `authentication.paths`
121
+
-`authentication.paths` - paths to enforce authentication
122
+
-`authorization[]` - optional, used to enforce authorization
123
+
-`authorization[].profile` - authorization profile name
124
+
-`authorization[].enforceOnPaths` - if set to `true` authorizaion is enforced on all API endpoints listed under `authorization.paths`. if set to `false` authorization is enforced on all API endpoints but those listed under `authorization[].paths`
125
+
-`authorization[].paths` - paths to enforce authorization
121
126
-`rate_limit` - optional, used to enforce rate limiting at the API Gateway level
122
127
-`rate_limit.enforceOnPaths` - if set to `true` rate limiting is enforced on all API endpoints listed under `rate_limit.paths`. if set to `false` rate limiting is enforced on all API endpoints but those listed under `rate_limit.paths`
0 commit comments