SAML 2.0 SSO for Ruby on Rails? [closed] - ruby-on-rails

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Where can I dig up a Ruby or Ruby on Rails library for SAML 2.0 SSO. I have a set of enterprise applications that are to be built but need to have federated login from a central authentication system. I have used SAML 1.1 and SAML 2.0 in a Microsoft .Net environment but have yet to see a library that handles both SAML Providers and Consumers for Ruby on Rails. Can someone point me in the right direction or tell me if I need to build the library myself?

I played with this one once: https://github.com/onelogin/ruby-saml
It might be what you're looking for.

AssureBridge SSOExchange is a service that supports SAML 1.1 and 2.0. It is available with a simple Ruby connector that integrates simply into Ruby apps without the need for the developer to know any SAML. It typically requires only a few lines of code in you r application.
Check it out at: http://www.assurebridge.com/integrations/

The best places to look are Ruby Toolbox and Rubygems.org - if it's not there, you may try Github, but your chances are slim now.
My rule is: estimate how long it would take you to build it yourself. If you have spend a reasonable amount of time (say, 10%) on finding an existing solution, but none is out there (or working), then code it yourself.

Related

Feature differences between shopify_app and shopify_api [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
What I might be missing out by using the shopify_api library on a Rails API only site VS generating an app using shopify_app?
On the shopify_app github page I see things such as WebhooksManager , ScripttagsManager , etc. I am wondering if there is a subset of useful and critical tools I may need that does not come with shopify_api . Currently new and trying to learn the toolset
I never used the Shopify App till recently, I only ever used Shopify API. I found it much simpler to get work done using Sinatra and rake tasks as a combo, perfect for a lot of Shopify work.
If you look into Shopify API, it is really ActiveResource tuned for the Shopify API. Now there is GraphQL too. Really handy stuff. Handling the security of Webhooks, App Proxy or Script Tags is a couple lines of Ruby code, so you decide if pulling in 250,000 lines of Rails (for Shopify App) is worth it.

authentication systems in rails [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
What are the most popular practices for developing authtentication systems that will are used for a simple login and logout system. Are developing custom authentication systems more popular or is it to use gems like devise, clearance, authlogic? The authentication system I am looking to build is pretty simple. So, I'd like to know what is the most popular solution when developing authentication systems?
You can roll out a basic authentication with bcrypt (good resource here). Bcrypt serves the purpose if your authentication system is not that complex and is limited to a few data models (say login to /admin section).
If you are looking for out of the box stable gem, devise is the standard choice with good community around it and the gem is stable with multiple releases and plays out well with other gems (admin gems like rails_admin, activeadmin) as it handles everything from data migrations to session controllers with few configurations.
Devise is the far more popular than others. It will fit if you need thorough customizable authentication. And it's not so hard to use so you can choose it when you need some simple authentication solution.

Using FourSquare API in a Rails App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Anybody have any good resources that might be helpful in trying to integrate the FourSquare API into a Rails app? I'm specifically looking for a good tutorial. There doesn't seem to be much out there yet. There are a few ruby gems, but they are pretty bare bones and I need a bit more hand-holding.
Here is a resource that I've found so far:
http://tedgrubb.com/
Stack Overflow won't let me include a second hyperlink, but you can also google: Foursquare ruby gem for another resource.
I have not done much work with APIs in the past, but I am very comfortable with Rails. What I need is a little better sense of exactly where all the pieces fit. A basic tutorial is what I'm looking for.
Thanks.
This helped me. It's a working example of a Rails project integrated with FourSquare:
https://github.com/pierrevalade/foursquare-rails-examples
Quimby is an excellent ruby api wrapper:
https://github.com/groupme/quimby
It was built by GroupMe.
'foursquare2' Ruby wrapper for the foursquare v2 API
Refere this : https://github.com/mattmueller/foursquare2 which is good & helped me a lot.
You can able to get more foursquare API data as user less and with authenticated user also
by using the 'foursquare2' gem.
The foursquare-API gem seems like the only one out there that supports V2 of their API and seems like the best place to start.
This isn't an answer, but this may be a start:
http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails
http://developer.foursquare.com/docs/oauth.html
I'm having trouble implementing a 4sq rails app myself.

Open Source Extendable ERP Package [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
As the title suggests I am looking for a open source ERP package. While there are tons of ERPs out there, None of them meet my needs. I am looking for a package which I can use configuration or minimal coding to create my customize ERP package for a customer. MS CRM has this ability, it has some built in modules as well we can add more module using configuration files and where needs extend the functionality using aspx of workflow (dll) modules. Please let me know if you need more info on this, I have been looking for this for sometime and yet to get something.
I ended up using Sugar CRM for the need because of its ability to customize the package.
IntarS might be your solution. Very extensible, running real world productive implementations since 10 years. Universal application architecture.
I think ebizframe ERP software can meet your needs related to ERP.
Check erpnext.com - clean, easy to read codebase, available on gihub with an excellent team of guys supporting it. They also offer a hosting service to go with it which is very affordable. Your data is also safe - you can get a mysql dump of all of it at any time if you need to.

Rails plugin for API Key + Secret Key signing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a Rails plugin or a rubygem that gives you a starting point for adding an api to your Rails app? We want to use the API Key/Secret Key model, the API should also be versionable. Is there something out there that will give us some, if not all of this?
Check out this plugin for AuthLogic:
http://github.com/phurni/authlogic_api
I think that does what you are looking for.
The OAuth plugin could be useful for the keys. It may look like OAuth is only for user authentication, but if you autogenerate the access tokens and give them to developers, instead of having an interactive user process with request tokens and account authorization, then you basically have a quite secure API key system. And the plugin will just drop in nicely.
Other than that, some nice use of rails' routes (with conditions to call a different action on get, post, put, etc, and a prefix of /api/v1/) and format (format.xml, format.js, etc) provides a pretty nice way to build RESTful APIs, withought really needing a plugin.

Resources