Okta API Access Management and Single Sign-On Use Cases
Last Updated:
Okta enables authentication and advanced authorization use cases depending on whether the organization enables Single Sign-On (SSO) or API Access Management. Administrators must determine which feature they require to secure custom applications and APIs effectively. Review the differences between these features and the specific use cases they support to understand the requirements for securing custom APIs.
What are the differences between Single Sign-On and API Access Management?
Compare the authorization server, authentication capabilities, API access, and add-on requirements for SSO and API Access Management.
| Authorization server | Enable Authentication for the app | Enable Authorized access to non-Okta APIs used by the App | Add-on to be purchased | |
|---|---|---|---|---|
| SSO | https://example.okta.com | Yes | No | No |
| API Access Management | https://example.okta.com/oauth2/default | Yes | Yes | Yes |
How does SSO manage user authentication?
SSO enables end users to authenticate into an application and access an account. Okta is a certified OpenID Connect (OIDC) provider and leverages this protocol to enable user authentication and SSO functionality.
For developers, SSO enables using Okta as an identity provider to authenticate users based on credentials and optionally Multi-Factor Authentication (MFA). This allows developers to protect custom applications with application-specific or group-specific sign-on policies.
The Org Authorization Server (https://example.okta.com) powers this use case. This Org Authorization Server generates ID tokens, access tokens, and refresh tokens. The ID token is for an application to consume as information about a user's identity. The access token is for the application to send to Okta to interact with the OIDC-compliant user info endpoint. Applications cannot use these access tokens to access any other APIs, whether they are Okta or custom APIs, because a custom server cannot validate them locally.
Every Integrator Free Plan organization, API Products organization, and IT SSO organization includes SSO supporting OIDC by default.
How does API Access Management secure custom APIs?
Okta API Access Management secures APIs with Custom Authorization Servers, custom scopes and claims, policies, and rules to determine who can access API resources. It provides centralized logging regardless of the API gateway, whether on-premises or in the cloud, and the languages and frameworks that developers use.
Control API access, create Custom Authorization Servers, enforce business requirements, manage access rules, and create custom scopes and claims.
- Control API access for a variety of consumers, such as vendors, employees, and clients. For example, authenticate users into an energy management application and authorize limited access to the billing API so users can view only their bill.
- Create Custom Authorization Servers that Okta hosts. Custom Authorization Servers make it easier to manage sets of API access for multiple client applications across many user types.
- Control complex business requirements with policies and rules.
- Manage API access with rules. Specifying the conditions under which Okta takes actions provides precise control over APIs.
- Create custom scopes and claims. Map claims to the profiles in the user directory. Applications pass tokens instead of credentials, and JSON Web Token (JWT) payloads carry user context.
Custom Authorization Servers power these use cases. Administrators can create Custom Authorization Servers if the organization enables API Access Management (https://example.okta.com/oauth2/default). This Custom Authorization Server generates ID tokens, access tokens, and refresh tokens. As with SSO and the Org Authorization Server, the ID token is for an application to consume as information about a user's identity. The application uses the access token that this server issues to send to a custom resource to interact with custom APIs (non-Okta APIs).
All Integrator Free Plan organizations include API Access Management. For all other plans, administrators must purchase API Access Management as an add-on for production use. Review the Plans and pricing documentation for more information.
Does the Okta organization have API Access Management?
All Integrator Free Plan organizations include API Access Management. For all other stock keeping units (SKUs), administrators must purchase API Access Management as an add-on for production use. Review the Plans and pricing documentation for more information.
Why does Okta include API Access Management in Integrator Free Plan organizations?
Okta includes it to allow developers to explore access management capabilities independently and through various developer samples.
Why do Okta tutorials point to the API Access Management Authorization Server?
An API Access Management Authorization Server generates ID tokens for OIDC applications (similar to the Org Authorization Server with a different issuer) and access tokens for custom APIs. Okta designs tutorials to emphasize the full functionality available to developers, which includes using API Access Management to protect custom APIs.
Does API Access Management on a preview organization affect production use?
No. Rate limits, user counts, and configurations that administrators use within a production or preview organization do not influence each other. They are entirely separate.
What resources provide additional help?
Access the developer documentation, OAuth standards, recommended practices, and developer forums for additional help.
- To get started with API Access Management, check out the Okta developer documentation.
- To learn about the underlying standard of OAuth 2.0, check out OAuth 2.0 Simplified.
- To learn about planning or building an API, check the Recommended Practices for API Access Management for design and architecture guidance documentation.
- If there is a specific issue or struggle, check out the Developer Forums.
