8.1. Detailed Flow

The figure below illustrates the flow of requests for a user logging into OpenAM and then being logged into WordPress with the user name and password from the OpenAM login session.

  1. User authenticates to OpenAM establishing a session, OpenAM is configured to capture the password, encrypt it, and then store it in the user's session.

  2. User browses to a WordPress page requiring authentication.

  3. OpenAM Agent intercepts the request, validates the user session, and populates HTTP headers with the user name and encrypted password from the session.

  4. Agent passes the original request with populated headers to OpenIG.

  5. OpenIG inspects the request, does not find a match for the WordPress login page, so forwards the request on.

  6. WordPress finds no application session and redirects to its login page.

  7. OpenIG intercepts, sees the login page, creates the login form with the user name and decrypted password from the headers inserted by the Agent.

  8. WordPress validates the login form, returns an application session and the user's home page.

  9. WordPress home page returned to the user.