try {
// Create the response wrapper
OAuthAuthzResponse oar = null;
oar = OAuthAuthzResponse.oauthCodeAuthzResponse(request);
// Get Authorization Code
String code = oar.getCode();
// Get OAuth Info
String clientId = Utils.findCookieValue(request, "clientId");
String clientSecret = Utils.findCookieValue(request, "clientSecret");
String authzEndpoint = Utils.findCookieValue(request, "authzEndpoint");