TIBCO Data Virtualization® Adapter Online Help > TDV Web-Based Data Sources > TDV SOAP and REST OAUTH Examples > Github OAuth Example
 
Github OAuth Example
Github does not conform to RFC 6749 because the request is in QUERY format and the response is in FORM format.
OAuth Tab Field
Sample Values
Authorization URI
https://github.com/login/oauth/authorize
AccessToken URI
https://github.com/login/oauth/access_token
Text field below the Using Processors check box
 
<Authorization>
   <AuthorizationProcessors>
      <AuthorizationProcessor>
         document.getElementById('login_field').value='test@gmail.com';
         document.getElementById('password').value='xxxxxx';          document.getElementsByTagName('form')[1].submit();
      </AuthorizationProcessor>
   </AuthorizationProcessors>
</Authorization>
<AccessToken>
   <RequestMsgStyle>QUERY</RequestMsgStyle>
   <ResponseMsgStyle>FORM</ResponseMsgStyle>
</AccessToken>