3.2.5.1.1.3 Processing Details
When an AD FS server implementing the server role of the ADFSOAL Protocol receives an HTTP GET request to look up a specified artifact identifier, it implements the following processing logic:
The AD FS server extracts the {artifactId} component from the request URL.
The AD FS server then examines its Artifact Store ADM element to see if an artifact with the specified artifact identifier exists.
Success Response: If the artifact was found in the Artifact Store, the AD FS server retrieves the corresponding access token.
The AD FS server responds to the HTTP GET request with an HTTP response with the HTTP status code set to 200 ("OK").
Additionally, the body of the HTTP response contains the JSON artifact.
Error Response (artifact not found): If the artifact was not found in the Artifact Store, the AD FS server responds to the HTTP GET request in the following manner:
The AD FS server responds with an HTTP response with the HTTP status code set to 404 ("Not Found").
The body of the HTTP response SHOULD contain an ErrorDetails object (section 2.2.5) that provides the client with additional information about the error.
Error Response: If the AD FS server implementing the server role of the ADFSOAL Protocol encounters an error while processing the request, it returns one of the HTTP error status codes defined in section 3.1.5. In addition, the body of the HTTP response SHOULD contain an ErrorDetails object that provides the client with additional information about the error.