also if you search the forum for "automating OAuth" or "automating OAuth token retrieval" or similar strings you should be able to find what you need.
I never got it to work myself, but that was cos I was working on a customised bodge of OAuth - so the way I automated it was to replicate the back and forth that occurs within OAuth to generate the tokens - that was a bit of a nightmare so I don't recommend it, although I did get there in the end
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
I have already went through the link[which you have suggested] and it doesn't help in my case. The example is for handling the sign in process, whereas my case i wanted to signup as new user every time.