IDG » Web Sign On » OAuth Errors /services/idg/services-support/web/sign-on/development/forum/?topic=094d43a23c676f04013c6cccf56f1476 The latest posts to IDG » Web Sign On » OAuth Errors en-GB (C) 2026 University of ÌÇÐÄTV Wed, 02 Jul 2025 10:06:42 GMT http://blogs.law.harvard.edu/tech/rss SiteBuilder2, University of ÌÇÐÄTV, http://go.warwick.ac.uk/sitebuilder OAuth Errors /services/idg/services-support/web/sign-on/development/forum/?post=094d43a23c676f04013c6ce49ec316c8 <p>Thanks Matt.</p> <p>I have done some more diging. It turns out the library&nbsp;I'm using is trying to request an access token twice, and failing on the second attempt.</p> <p>Now I just need to figure out why it tries twice...</p> <p>&nbsp;</p> <p>Thomas</p> Thu, 24 Jan 2013 14:09:47 GMT Thomas Purchas 094d43a23c676f04013c6ce49ec316c8 OAuth Errors /services/idg/services-support/web/sign-on/development/forum/?post=094d43a23c676f04013c6cd926c015af <p>Hi Thomas,</p> <p><code>token_rejected</code> is sent back if (and only if) it can't find an entry for the token ID you've sent in the database; are you sure that the token you're sending matches the request token you got back initially?</p> <p>Mat</p> Thu, 24 Jan 2013 13:57:16 GMT Mathew Mannion 094d43a23c676f04013c6cd926c015af OAuth Errors /services/idg/services-support/web/sign-on/development/forum/?post=094d43a23c676f04013c6cccf5711477 <p>Hey,</p> <p>I'm currently trying to make my web app authenticate using OAuth. I have had some limited sucess, but at the moment I keep running into a 401 error when trying to get an access token.</p> <p>After authenticating a token, and the user is redirected back to my app, I attempt to convert the request token to an access token at get the following:</p> <pre>'status': '401', <br>'date': 'Thu, 24 Jan 2013 13:13:46 GMT', <br>'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',<br>'www-authenticate': 'OAuth realm="https%3A%2F%2Fwebsignon.warwick.ac.uk%2F", <br>oauth_problem="token_rejected"'</pre> <p>&nbsp;I have only included the relevant&nbsp;information but could someone shed light on what <code>token_rejected</code>&nbsp;means.</p> <p>Your documentation says that I should get a plain 400 error if its a badly formatted request, and I get a different</p> Thu, 24 Jan 2013 13:43:57 GMT Thomas Purchas 094d43a23c676f04013c6cccf5711477