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 1027893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:18:11+00:00 2026-05-16T12:18:11+00:00

I have a Rails application for which I use devise to authenticate my users

  • 0

I have a Rails application for which I use devise to authenticate my users and this works great. I now want to write an iPhone application (not just a WebUI but a proper APP) that accesses the same data and so requires the same authentication. How should I go about doing this?

I want to login using devise and keep the session open so that queries back and forth work as they do on my website. I am very new to both rails and devise.

  • 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-16T12:18:12+00:00Added an answer on May 16, 2026 at 12:18 pm

    I’m trying to do the same thing actually. I also have a Rails application, using the Devise Authentication Gem that I would like to create an iPhone App for. I don’t know if I have a good answer for you yet, but here’s some things I’ve learned along the way…

    According to the README on the Devise GitHub page, it seems that Devise is implementing RESTful authentication with these 2 modules:

    Database Authenticatable:

    encrypts and stores a password in the database
    to validate the authenticity of an
    user while signing in. The
    authentication can be done both
    through POST requests or HTTP Basic
    Authentication.

    Token Authenticatable:

    signs in an user based on an authentication token
    (also known as “single access token”).
    The token can be given both through
    query string or HTTP Basic
    Authentication.

    With HTTP Basic Authentication, your iPhone app won’t have to re-authenticate with each request. You will only have to authenticate once, then the framework will remember that it has authenticated.

    A few resources that may be helpful for you getting started:

    • ASIHTTPRequest
    • Objective Resource
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rails application, and I authenticate users to the application using Devise.
I created rails application, it works great in development environment, but now I want
At the moment I have a Ruby on Rails application which maintains my Users,
I am writing ruby on rails application, which will have 2 different users types
I'm developing Rails application and I have to use authentication. I installed devise gem
I have Ruby on Rails application which is using MySQL database. For now I'm
I have a rails application in which user provides his skype address.I want to
I have a simple Rails application with which I am trying to use the
I have a model in my rails application which is class Person < ActiveRecord::Base
I have a Rails 3.2.2 application which is a simple company intranet, however although

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.