Questions tagged [restful-authentication]

Questions about authentication for RESTful services.

Services designed using REpresentational State Transfer architecture must often authenticate clients. How best to do this can be a complex topic, as in true REST each client request to the server will contain all the information necessary to complete it (including authentication).

Resources

1447 questions
0
votes
1 answer

REST Service - SSL Implementation (HTTP Error 403.7 - Forbidden)

In order to secure my Rest Services, I have enabled SSL in IIS and Created a Self-Signed Certificate and assigned it to the HTTPS binding in IIS. I exported the same as pfx file and added the same in IE also but when I try to access the Services, I…
Mohit Jain
  • 61
  • 1
  • 6
0
votes
1 answer

OAuth Consumer request for token from ServiceProvider returns InternalServerError

I'm playing around with DevDefined.OAuth - an OAuth consumer and provider implementation for .Net http://code.google.com/p/devdefined-tools/wiki/OAuth and on launching the ExampleConsumerSite project after configuring the service endpoints on my IIS…
chridam
  • 100,957
  • 23
  • 236
  • 235
0
votes
0 answers

DefaultHttpClient throws InvocationTargetException

I am trying to consume a RESTful web service using Java, and have been following the tutorial on 4.8 Preemptive Authentication. However, I keep getting an InvocationTargetException error, and started moving bits and pieces of the code out to track…
Tyler
  • 304
  • 1
  • 3
  • 12
0
votes
3 answers

Undefined method 'make_activation_code' Rails error using Restful_Authentication

I have a fantasy football league rails app that was working last year and it's time to get it going again before the season starts. I cleared out the database and did a "rake db:migrate" so I could restart the app from scratch. The login page comes…
hacintosh
  • 3,784
  • 4
  • 19
  • 22
0
votes
1 answer

API with authentication - signature in response?

I have an API where the client calling in must include a signature. This is based on similar to oauth and how amazon do it (signature v2) My question is is the default standard to also add a signature in the response going back to the client?
Noel
  • 5,037
  • 9
  • 46
  • 69
0
votes
1 answer

Basic Authentication using RestTemplate in Spring MVC 3.1 status code 301

I am developing a sample application using Spring MVC 3.1. In this application I am using REST APIs and to use REST APIs I am using Rest Template. My First page is simple login form, where the user enters a username and password. In the controller,…
0
votes
1 answer

Remote login into Rails 2 application

I am working on signing in a Rails 2 app remotely. Given that Rails methods are RESTful by default, I am assuming all I have to do would be POSTing form data from the remote application (a Facebook App actually). For some reason, this doesn't seem…
0
votes
1 answer

Password being sent in cleartext in rails 3

In my application i am using restful authentication for authenticating login. But the problem is whenever i login and check the logs, my password is sent in cleartext and it is easily readable. I tried many things but still the issue exists. Any…
anil.n
  • 509
  • 2
  • 5
  • 17
0
votes
3 answers

Rails plugin Restful_Authentication does not work

I have tried to make it work around 6 times using different tutorials, and I arrive to the same result. I install the plugin correctly, generate the files correctly, add the routes correctly, migrate my database correctly, and yet when I go to…
Joel M.
  • 301
  • 2
  • 6
  • 19
0
votes
1 answer

How to create an Azure based WCF restful API

any tutorials on that? ideally it would have basic http authentication can I create a restful WCF web service and deploy to Azure?
Kiddo
  • 5,052
  • 6
  • 47
  • 69
0
votes
1 answer

JQuery Authorization doesn't work for RESTful services

I am expecting to receive JSON response from the server after authentication has been successful from the RESTful service. I am using the code below: jQuery.ajax({ type: "GET", url:…
Ghazanfar Mir
  • 3,493
  • 2
  • 26
  • 42
0
votes
2 answers

REST Web Service - Website authentication

I have been working on a service that allows registered users to store data and retrieve it using an JavaScript XML Request. Basically, my service has one part that receives that product details and one part that returns them as XML on request. What…
Simeon Wislang
  • 461
  • 2
  • 9
  • 21
0
votes
1 answer

How to validate response XML with request XML in SOAP UI Pro

Our project demands thorough REST API testing. So we are using SOAP-UI Pro for REST web-service testing. I want to test the following scenario: Storing an 'XML' file and make sure that to fetch the same 'XML' file. Need to validate 'request-XML'…
0
votes
1 answer

Client cookie for token in API environment

The backend for my client web application is a JSON Api. I wanted to keep the backend generic so other devices such as mobile could reuse the same service. Let's say each user account has a token in their profile, when they login with their…
Paul Sylling
  • 359
  • 1
  • 5
  • 12
0
votes
1 answer

FB Authentication in iphone app and third server

my company is developing a system that works as follows: there is an iphone/mobile app and a php server that offers rest services. in the mobile app,the user can register/login in 2 ways: username/password couple facebook account while the point…
Stormsson
  • 1,391
  • 2
  • 16
  • 29