IBM Tivoli Federated Identity Manager, Version 6.2.2.7

OAuth 1.0 template page for response

Use this HTML page when the callback URI is set to oob in the request for temporary credentials or in the partner registration.

When the OAuth client does not specify a callback URI or cannot receive callbacks, the OAuth server does not know where to redirect the resource owner after the authorization process. As a result, the OAuth client does not receive the verification code that it must exchange for a set of token credentials.

Tivoli® Federated Identity Manager provides an HTML template page called user_response.html. This page shows the OAuth token and verification code that the resource owner can provide to a trusted OAuth client.

The template has the following replacement macros:
@OAUTH_TOKEN@
This macro is replaced with the oauth_token parameter specified in the request for temporary credentials.
@OAUTH_VERIFIER@
This macro is replaced with the oauth_verifier parameter specified in authorization response.
Figure 1. Template for user_response.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>OAuth - Response</title>
	</head>
	<body>
			<h1>OAuth - Response</h1> 		<br />
				<p>Your OAuth client did not provide a callback URL.
						Supply these values to your client:</p>
				<br />
				<p>OAuth Token: <span class="client">@OAUTH_TOKEN@</span></p>
				<br />
				<p>OAuth Verification Code: <span class="client">
																@OAUTH_VERIFIER@</span></p>
			</div>
		</div>
	</body>
</html>


Feedback