
mc01f (mc01f) asked a question.
I faced with a problem of creating a new instance of a Custom SWA App with already existing `name` through REST API, e.g.:
{
"label": "Custom SWA App",
"name": "customswaapp_1", <---------- Not working for custom Apps
.......
"signOn": {
"redirectUrl": "http://secondary.com",
"loginUrl": "http://primary.com"
}
}
}
and a response:
{
"errorCode": "E0000001",
"errorSummary": "Api validation failed: mediated",
"errorLink": "E0000001",
"errorId": "oaewLvdTNfiRh-bHmpICtSxfg",
"errorCauses": [
{
"errorSummary": "Cannot create an existing App Wizard App"
}
]
}
Why it's possible to add a new App Instance if it exists in Okta (SWA App), but not for custom one? Maybe it's somehow related to the fact that Custom App is of private scope?
Anyway, are there any workarounds on how I can create another instance of Custom SWA App, that is differ from a 'parent' one only by app id?

Vitalii,
Application name must be unique. There is no workaround for this.
BJ Lillo
Senior Technical Support Engineer
Okta Global Customer Care