Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4556990
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:26:41+00:00 2026-05-21T17:26:41+00:00

We have some web services with OAuth on them. I am required to run

  • 0

We have some web services with OAuth on them.

I am required to run some tests against them, preferably in an automated environment without using a browser.

The problem is logging in.

Without using a browser, and with using DotNetOpenAuth and setting the HttpContext.Current manually, I seem able to do everything and get a request token and a verifier (I use a test username and password).

I believe the next stage is to get an authorising token. Unfortunatly, no matter how I construct the request, I cannot get it to work.

At the moment, using a WebConsumer (DotNetOpenAuth library) and calling consumer.ProcessUserAuthorization() results in an error:

DotNetOpenAuth.OAuth.Messages.AuthorizedTokenRequest message: oauth_verifier

Probably the whole approach is wrong, so any help/advice would be useful.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T17:26:41+00:00Added an answer on May 21, 2026 at 5:26 pm

    In the end, it was a problem with cookies not being stored properly.

    I was losing cookies between the login page (where the user types their username and password), and the authorise page (where the user says it is okay to share details with the third party). The second page was doing an extra check to see if the user was who they say they were (reading a cookie value that the login page was meant to have written).

    It was not really an OAuth issue, just something I did not understand in the Authorising page (which has since been removed anyway – c’est la vie).

    I then had issues with the domains of the cookies (when the domain starts with a ‘.’). This post helped me:

    CookieContainer bug?

    I ended up copying cookies from one domain to another.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Rational Application Developer to create some web services. The problem I have
I have some web services and I am creating a web client using ws-import.
I have some web services that uses WSDL/SOAP for communication. Specifically, I am using
I have been trying to connect to some web services using WCF but I
I have a project that is currently in production delivering some web-services using the
I have some REST web services implemented in WCF. I wish to make these
We have had in Domino for some time Web Services. Now, after the release
We will develop a web site that will have some free services and we
I have some problem when unmarshaling a .xml at a web service using JAXB.
I have some internal-facing ASP.NET web services that have had numerous API additions over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.