Authentication REST APIs¶
Click for instructions
Follow the steps given below to try out the REST APIs with your local instance of MWARE IAM.
- Expand the relevant API operation and click Try It Out.
- Fill in relevant sample values for the input parameters and click Execute. You will receive a sample curl command with the sample values you filled in.
- Add a
-k
header to the curl command and run the curl command on the terminal with a running instance of WSO2 IS.
Instructions for the /data endpoint
To configure the Authentication Data API add the following configuration to the deployment.toml file found in the IS_HOME/repository/conf directory and restart the IS server.
[authentication.endpoint.redirect_params]
filter_policy = "include"
remove_on_consume_from_api = "true"
parameters = ["sessionDataKey"]
Field Name | Description |
---|---|
filter_policy | The value is either include or exclude. An include indicates an allowlisvalue, whereas an exclude indicates a denylist value. |
remove_on_consume_from_api | This decides whether to remove the parameters on a read. If set to true, parameters ardeleted upon read and won’t be available for subsequent API requests, unless they arrepopulated in the backend. |
parameters | The list of parameters to be allowed/denied. The name attribute is used to specify thparameter name. |
sessionDataKey |
This is an identifier used by the Identity Server to maintain state information abouthis particular request from the service provider.
Note The sessionDataKey query parameter is used to coordinate the request statacross components participating in the request flow. |