Custom Request Parameter
Since version 5.2.0
it is possible to customize the requests send by the agent to the OPs and add custom request parameters.
Custom parameters can be configured in a config file named custom_parameters.config
. As usual the file can be placed in /etc/oidc-agent
or the agent directory. If both are present parameters are merged together.
The custom_parameters.config
contains a json array of parameter specifications. A parameter specification is a json object that can have the following fields:
Field Name | Description |
---|---|
| The name of the parameter to be added to the request |
| The value that should be used. The value can be given in different ways. If the value starts with a |
| A JSON array of issuer urls for which this parameter should be used |
| A JSON array of account shortnames for which this parameter should be used |
| A JSON array of requests for which this parameter should be used. Possible values are |
Last updated