For example, if you have an OIDC configuration variable called subdomain
, then you can set your Redirect URI string to https://{app.subdomain}.example.org/strawberry/login
. When your customer sets their subdomain
variable value to berryfarm
, then https://berryfarm.example.org/strawberry/login
is their redirect URL.
Note: A variable can include a complete URL (for example,
https://example.com
). This enables you to use global variables, such asapp.baseURL
.
The following are Expression Language specifics for OIDC properties:
-
OIDC integration variables you define in the OIN Wizard are considered Application properties and have the
app.
prefix when you reference them in Expression Language. For example, if your integration variable name issubdomain
, then you can reference that variable withapp.subdomain
. -
OIDC properties support Expression Language conditional expressions and evaluates everything between curly brackets. For example, the following is an expression for the Redirect URI property:
{String.stringContains(app.environment, 'PROD') ? 'https://app.data.one/' : 'https://app-sandbox.data.one/'}