omniauth-for-sinatra | go template for Sinatra apps
kandi X-RAY | omniauth-for-sinatra Summary
kandi X-RAY | omniauth-for-sinatra Summary
omniauth-for-sinatra is a Ruby library. omniauth-for-sinatra has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
This is a template for launching Sinatra apps quickly and easily, using OmniAuth as the authentication protocol. It differs from most of the "use Twitter with Sinatra" code bases, as it incorporates sessions and a User model in the database. This means your user should remain logged in as long as your server stays live. The instructions in the "twitter-template.rb" file assume you're using Twitter, but you can use any auth provider handled by OmniAuth. To see how you'd use GitHub, check out the "github-template.rb" file. Most of the actual code here is simply a port/mashup of Ryan Bates's example from RailsCasts #241: Simple OmniAuth and the OmniAuth readme. Once you have your auth codes, getting a new Sinatra app with authentication working is simply a matter of copying the app.rb file from here into a new directory, pasting in your auth codes, and then starting in on your app's code. It just works.
This is a template for launching Sinatra apps quickly and easily, using OmniAuth as the authentication protocol. It differs from most of the "use Twitter with Sinatra" code bases, as it incorporates sessions and a User model in the database. This means your user should remain logged in as long as your server stays live. The instructions in the "twitter-template.rb" file assume you're using Twitter, but you can use any auth provider handled by OmniAuth. To see how you'd use GitHub, check out the "github-template.rb" file. Most of the actual code here is simply a port/mashup of Ryan Bates's example from RailsCasts #241: Simple OmniAuth and the OmniAuth readme. Once you have your auth codes, getting a new Sinatra app with authentication working is simply a matter of copying the app.rb file from here into a new directory, pasting in your auth codes, and then starting in on your app's code. It just works.
Support
Quality
Security
License
Reuse
Support
omniauth-for-sinatra has a low active ecosystem.
It has 94 star(s) with 7 fork(s). There are 2 watchers for this library.
It had no major release in the last 6 months.
There are 1 open issues and 3 have been closed. On average issues are closed in 143 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of omniauth-for-sinatra is current.
Quality
omniauth-for-sinatra has 0 bugs and 0 code smells.
Security
omniauth-for-sinatra has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
omniauth-for-sinatra code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
omniauth-for-sinatra does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
omniauth-for-sinatra releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
omniauth-for-sinatra saves you 36 person hours of effort in developing the same functionality from scratch.
It has 98 lines of code, 2 functions and 2 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of omniauth-for-sinatra
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of omniauth-for-sinatra
omniauth-for-sinatra Key Features
No Key Features are available at this moment for omniauth-for-sinatra.
omniauth-for-sinatra Examples and Code Snippets
No Code Snippets are available at this moment for omniauth-for-sinatra.
Community Discussions
No Community Discussions are available at this moment for omniauth-for-sinatra.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install omniauth-for-sinatra
(Note that the GitHub template uses the omniauth-github gem instead of omniauth twitter.).
Support
I'd really love to hear any suggestions you have on how to improve this. On Twitter, I'm @charliepark. By e-mail, I'm charlie@charliepark.org.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page