20% of Part II — turning inbound API calls into new Okta users.
3 tasks · this deck covers task 1 of 3
↑ Use API Endpoints to Create Users OverviewAn API Endpoint flow is "a type of flow triggered by changes at an external source." Unlike event-driven flows off a connected app, it fires whenever an external client calls the endpoint you designate — on demand, not on a schedule or an app event.
The API Endpoint card is the flow's trigger card. An external client invokes it by calling the flow's invoke URL, which is constructed using a flow alias. On invocation, the flow runs and "sends the flow output as a response object" back to the caller.
Every mode besides Public Service requires "the external client calls the designated endpoint with valid security credentials." OAuth 2.0 is the most robust option (scoped access tokens, org-level app integration); Client Token is the lighter-weight webhook pattern; Public Service trades all authentication for simplicity.
Watch for this in your own sandbox run:
→ Assuming a custom authorization server works with the OAuth 2.0 mode — it doesn't; only the client credentials grant with a private JWT is supported.
→ Picking Public Service for anything sensitive — remember it means the invoke URL alone grants access, with no credential check at all.
Sources: help.okta.com/wf — about-invoke-api-endpoint-flow.htm; execute/flow-api-endpoint.htm
Next: Task 2 →