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
2 answers

Is the user logged in? (restful-authentication)

I have used restful-authentication and I have "public" layout and a completely different "members" layout. When someone visits my root (defaults to public) how can I check if they are logged in and redirect them to the member's section?
chrishomer
  • 4,900
  • 5
  • 38
  • 52
0
votes
1 answer

Spring RESTFul Webservice secure client call using Spring Security

i am going to develop a RESTFul web service using Spring WS. This service will receive an XML as request which will have authentication information as well as request information. I need to parse XML request and get those authentication details and…
0
votes
1 answer

sending a JSON to a Server with REST API

I am developing an application with REST full web service .Now i have some problem in this case ,ie string sent to a servier using put method. I am using the following code. NSMutableURLRequest* request = [[NSMutableURLRequest alloc]…
John
  • 734
  • 3
  • 14
  • 30
0
votes
1 answer

Validate Tomcat Authentication in rest client

I am using rest full web service and tomcat security. I want to write a restclient which will provide the username and password and will do authentication in server. Please suggest some ways how can I do this?
Rakesh Mahapatro
  • 866
  • 5
  • 12
0
votes
2 answers

setRequestHeader does not work in JSONP using jQuery

I am building an iPhone app using jQuery Mobile, jQuery 1.7.2, and PhoneGap trying to get a JSONP from ASP.NET RESTful web service using this code, problem that I need to authenticate first and get a token, then send it back again. here is my…
EMMNS
  • 280
  • 1
  • 4
  • 17
0
votes
1 answer

Creating authToken for last.fm api ruby

I am trying to use auth.getMobileSession method to authenticate user to my last.fm application that is built using last.fm REST api. Last.fm says that for mobile applications we need to send AuthToken authToken (Required) : A 32-byte ASCII…
nightf0x
  • 1,969
  • 3
  • 17
  • 24
0
votes
2 answers

Rest Approach: for Implementing subsequent api calls after Login

I am trying to implement the Rest approach for designing my Api. Please go through the work flow below and try to clear my doubts and also point out mistakes- Client(Web browser) Rest call from client ->/post /login username/password Server /login…
Juzer Arsiwala
  • 601
  • 2
  • 10
  • 20
0
votes
1 answer

Email Verification URL in ASP.NET WEB API

how can I use given URL for email varfication in ASP.NET WEB API? var Email="test@test.com" var key="122"; "http://localhost:50740/api/Users/VerifyEmail/" + Email + "/" + key when i enter into web browser, debug it [HttpGet] public…
aamir sajjad
  • 3,019
  • 1
  • 27
  • 26
0
votes
1 answer

Upgrade from restful_authentication to devise :confirmable not confirming old users

I have upgraded my application from Rails 2.3.5 to Rails 3.2.2. I have replaced authentication from restful authentication to devise with guidance of steps given in devise wiki. I have user model as devise :database_authenticatable,…
0
votes
2 answers

iPhone Login Notifications

Had a question related to best practices in iPhone login authentication using asynchronous NSURLConnection. Since the same delegate is used for logging into a server, how do folks differentiate notifications coming back for an authentication…
Sjs Weng
0
votes
1 answer

How to host a Rails application as an API that is only accessible locally?

I am starting to create a RESTful API that is built on Ruby on Rails. I would like my other applications (which are hosted on the same server) to be able to use this API. I had the idea that if the API is only available locally, I won't have to deal…
Andrew
  • 227,796
  • 193
  • 515
  • 708
0
votes
2 answers

asp.net Web Api custom authentication requirement for mobile client

Please provide your feedback on my solution against following requirements. Requirement (similar to): 1.a let say that authentication Token is made out of the Email and date and is encrypted 1.b authentication Token is send back to the client…
aamir sajjad
  • 3,019
  • 1
  • 27
  • 26
-1
votes
1 answer

Adobe air and REST communication

Can someone recommend me a good example of Adobe air and REST API communication and authentication?. Googling this problem didn't help me.
Shanaka
  • 1,670
  • 3
  • 21
  • 42
-1
votes
1 answer

node.js RESTful API with amazon like auth

I'm looking to build a RESTful API in node.js and want to authenticate users with an API key and API secret musch like the service in Amazon Web Services (AWS). The question is where to start, googling has lead me to a lot of irrelevant sites and I…
-1
votes
1 answer

Why am I unable to retrieve a Xero item by identifier with a valid access token from Postman?

xero developer api not authorizing i generated the access_token from the endpoint postman screen shot for access token when i try to get xero item i am getting screen shot for item end point this endpoint should give the item with identifier…
moslem parve
  • 5
  • 1
  • 9