I have been (successfully) creating “Custom SAML 2.0 Apps” using the API (via both Postman and exported cURL). It works fine except all values for “defaultRelayState” are ignored. In fact, it i clear that the API engine does not even recognize this (documented) parameter, since the value in the created app is alway null and not even “” when that is specified, as it is in the example (Apps | Okta Developer)
Hello @apihacker,
I just tested and it worked fine for me.
Can you supply the full cURL command you are using (you don’t need to supply or Org URL).
Okta returns an HTTP Header x-okta-request
-id, can you supply the value of this as well.
Thank You,
You are correct. It seems I did not add
“app”: {} under “settings” in the payload.
The Postman code does have this but the SAML Custom app docs do not:
Apps | Okta Developer
Works after adding that additional json.
You might want to check and fix that item.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.