I want to display a different app name for some of the client ID’s, So I want to keep all the clients Id’s in a list and check if the client ID is coming in a request matches with list then change the app name below is the code this is for okta hosted sign-in widget.
var requestContext = OktaUtil.getRequestContext();
if ( requestContext && requestContext.target && requestContext.target.label ) {
if ( requestContext.target.clientId = {{{clientIdList}}} ){
return "my App";
}
else return requestContext.target.label;
}
else return "Sign In";
}
This is how I want my code to look like but not sure how can I define value for {{{clientIdList}})