Applies To:Show Versions
- 13.1.3, 13.1.1, 13.1.0
APM OAuth 2.0 support
APM in OAuth roles in the network
OAuth roles that APM supports
On a single BIG-IP® system, Access Policy Manager® (APM®) can be configured to act as an OAuth 2.0 client and resource server, or to act as an OAuth 2.0 authorization server, or to act as both.
OAuth 2.0 roles
OAuth 2.0 specification RFC 6749 defines the roles in this table.
|resource owner||Can grant access to a protected resource. A resource owner can be an end-user (person) or another entity.|
|resource server||Hosts protected resources, and can accept and respond to requests for protected resources using access tokens.|
|client||Makes requests for protected resources on behalf of, and with authorization from, the resource owner. The client is an application.|
|authorization server||Issues access tokens to the client after successfully authenticating the resource owner and obtaining authorization.|
APM in OAuth resource server and client roles
When Access Policy Manager® (APM®) acts as an OAuth resource server, users can log on using external OAuth accounts to gain access to the resources that APM protects. External OAuth accounts can be social accounts, such as Facebook and Google, or enterprise accounts, such as F5 (APM) and Ping Identity (PingFederate).
In this configuration, APM becomes a client application to an external OAuth authorization server, such as F5, on another BIG-IP® system, or Google.
APM in the OAuth authorization server role
When Access Policy Manager® (APM®) acts as an OAuth authorization server, APM can grant authorization codes, access tokens, and refresh tokens, and APM can perform token introspection.
Configuring one BIG-IP system for two OAuth roles
Configure APM to act as an OAuth client / resource server (or to act an OAuth
resource server gateway).
Follow the instructions in BIG-IP® Access Policy Manager®: Authentication and Single Sign-On on the AskF5™ web site located at support.f5.com.Note: It doesn't matter whether you configure APM to act as an OAuth authorization server first or second. What's important is that you create separate virtual servers for each of the two configurations.
Configure APM to act as an OAuth authorization server.
Follow the instructions in BIG-IP® Access Policy Manager®: Authentication and Single Sign-On on the AskF5™ web site located at support.f5.com.Important: In this step, be sure to configure a virtual server that is distinct from the one you configured for APM in the previous step.
In your DNS configuration, configure two host names:
- Point one hostname to the virtual server configured for APM as an OAuth authorization server.
- Point the other hostname to the virtual server configured for APM in the other role (OAuth client / resource server or OAuth resource server gateway).