{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/651","repository_url":"https://api.github.com/repos/jayway/rest-assured","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/651/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/651/events","html_url":"https://github.com/jayway/rest-assured/issues/651","id":135360409,"number":651,"title":"Does it support 2 legged call in Oauth","user":{"login":"aniket-21","id":4035405,"avatar_url":"https://avatars.githubusercontent.com/u/4035405?v=3","gravatar_id":"","url":"https://api.github.com/users/aniket-21","html_url":"https://github.com/aniket-21","followers_url":"https://api.github.com/users/aniket-21/followers","following_url":"https://api.github.com/users/aniket-21/following{/other_user}","gists_url":"https://api.github.com/users/aniket-21/gists{/gist_id}","starred_url":"https://api.github.com/users/aniket-21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniket-21/subscriptions","organizations_url":"https://api.github.com/users/aniket-21/orgs","repos_url":"https://api.github.com/users/aniket-21/repos","events_url":"https://api.github.com/users/aniket-21/events{/privacy}","received_events_url":"https://api.github.com/users/aniket-21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-02-22T09:19:33Z","updated_at":"2016-03-20T23:00:46Z","closed_at":null,"body":"I see that Oauth method accepts Consumer Key, Secret, Token and Token Secret.\r\nHow can I make a 2 legged call ? Will it work if I pass Token and Token secret as empty strings?"},"comment":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/comments/199055983","html_url":"https://github.com/jayway/rest-assured/issues/651#issuecomment-199055983","issue_url":"https://api.github.com/repos/jayway/rest-assured/issues/651","id":199055983,"user":{"login":"aniket-21","id":4035405,"avatar_url":"https://avatars.githubusercontent.com/u/4035405?v=3","gravatar_id":"","url":"https://api.github.com/users/aniket-21","html_url":"https://github.com/aniket-21","followers_url":"https://api.github.com/users/aniket-21/followers","following_url":"https://api.github.com/users/aniket-21/following{/other_user}","gists_url":"https://api.github.com/users/aniket-21/gists{/gist_id}","starred_url":"https://api.github.com/users/aniket-21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniket-21/subscriptions","organizations_url":"https://api.github.com/users/aniket-21/orgs","repos_url":"https://api.github.com/users/aniket-21/repos","events_url":"https://api.github.com/users/aniket-21/events{/privacy}","received_events_url":"https://api.github.com/users/aniket-21/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T23:00:46Z","updated_at":"2016-03-20T23:00:46Z","body":"No this wont affect oauth2 in anyway. I have tried exactly the same things you have mentioned. Create an OauthConfig file,  added a boolean field which is default set to false and can be configured to be true. \r\nThis boolean value will be returned from overridden method  isEmptyOAuthTokenParamIsRequired() in class Oauth10aService when processed method of AuthConfig id called.\r\n\r\nIssue I am facing is that even if I set the config value, it doesn't seem to flow down till the AuthConfig.\r\nI am doing something wrong.\r\n\r\nMay be you can help setting up config file with just one boolean value and guide me how to use it in AuthConfig?"}}