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

  • Home
  • SEARCH
  • 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 8656513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:17:37+00:00 2026-06-12T15:17:37+00:00

I have created an app using the Cramp.in( http://cramp.in ) framework. I need to

  • 0

I have created an app using the Cramp.in(http://cramp.in) framework. I need to now setup authentication for the application. In Rails i have used Device for this purpose. Can Device be used in a Cramp application or should i use something else ?

Thank You

  • 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-06-12T15:17:38+00:00Added an answer on June 12, 2026 at 3:17 pm

    The problem is that Devise is built for Rails thus making it deeply coupled to it. So you just can’t use it.

    Devise being built on top of a Rack middleware named Warden (https://github.com/hassox/warden/wiki) it may sounds as a solution, but Cramp by being asynchronous can’t use these directly (see http://cramp.in/documentation#rack-middlewares).

    All middleware shipped with Rack are available in an asynchronous flavour (https://github.com/rkh/async-rack) but Warden isn’t one of these. You may want to spend some time modifying it so it runs in an async environment (I guess you’d make yourself a lot of friends doing that 🙂

    Conclusion : You may want to roll your own authentication solution.

    Since sinatra is supported through an async module, you might want to look at the Sinatra authentication solutions that are available but I doubt they would run without any modification.

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

Sidebar

Related Questions

I have created one web app using mvc and in that used form authentication
I have created in-app purchase for non-consumable object application in iPhone using with store
I have created app using jQuery Mobile and need to get a Dialog box
hi every one there please i need some info i have created app using
I have created an app with http and I am using asihttprequest . The
I am developing an application and using in-app purchases in it. i have created
I have created a QDialog based app using Qt Creator and all is well
Background: I have created a CRUD web app using a java based RAD tool
I have created a simple web app/form using google app engine. the site is
I have a question. I just created an app using WPF. and trying to

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.