Authorization code flow state parameter requirement
-
- UpdatedAug 1, 2024
- 1 minute read
- Xanadu
- Platform Security
The glide.oauth.state.paramater.required system property enables the State parameter to be required in an OAuth request for authorization code flow.
State parameter
Role required: none.
Beginning in the Madrid release, the system property glide.oauth.state.parameter.required adds a State parameter for an OAuth request. For zbooted instances, the property is true. For upgraded instances, the property is not present, so the State parameter is not enabled. The State parameter is a string value, and should not contain special characters. The State parameter cannot be empty or “ ”.
Validating the state parameter
state=123
.