ユーザーガイド > Webベースのデータソースの構成 > TDVのSOAPおよびREST OAUTHの例 > GithubのOAuthの例
 
GithubのOAuthの例
リクエストがQUERY形式で、レスポンスがFORM形式であるため、GithubはRFC 6749に準拠していません。
[OAuth]タブのフィールド
サンプル値
[Authorization URI(認可URI)]
https://github.com/login/oauth/authorize
[AccessToken URI(アクセストークンURI)]
https://github.com/login/oauth/access_token
[Using Processors(プロセッサーの使用)]チェックボックスの下のテキストフィールド
 
<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>