All Projects → omniauth → Omniauth Github

omniauth / Omniauth Github

Licence: mit
GitHub strategy for OmniAuth

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Omniauth Github

Go Keyring
Cross-platform keyring interface for Go
Stars: ✭ 351 (-12.69%)
Mutual labels:  authentication
Toughradius
Beautiful open source RadiusServer
Stars: ✭ 376 (-6.47%)
Mutual labels:  authentication
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (-4.48%)
Mutual labels:  authentication
Gin Oauth2
Middleware for Gin Framework users who also want to use OAuth2
Stars: ✭ 351 (-12.69%)
Mutual labels:  authentication
Permissionmanager
Admin interface for managing users, roles, permissions, using Backpack CRUD
Stars: ✭ 363 (-9.7%)
Mutual labels:  authentication
Jwtproxy
An HTTP-Proxy that adds AuthN through JWTs
Stars: ✭ 379 (-5.72%)
Mutual labels:  authentication
Firebase Admin Java
Firebase Admin Java SDK
Stars: ✭ 345 (-14.18%)
Mutual labels:  authentication
Fxa Auth Server
DEPRECATED - Migrated to https://github.com/mozilla/fxa
Stars: ✭ 400 (-0.5%)
Mutual labels:  authentication
Angular Token
🔑 Token based authentication service for Angular with interceptor and multi-user support. Works best with devise token auth for Rails. Example:
Stars: ✭ 376 (-6.47%)
Mutual labels:  authentication
Waffle
Enable drop-in Windows Single Sign On for popular Java web servers.
Stars: ✭ 381 (-5.22%)
Mutual labels:  authentication
React Gatsby Firebase Authentication
🐣🔥Starter Project / Boilerplate for Authentication with Firebase and plain React in Gatsby.js
Stars: ✭ 356 (-11.44%)
Mutual labels:  authentication
Codeigniter Aauth
Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
Stars: ✭ 360 (-10.45%)
Mutual labels:  authentication
Neural
高并发、高可用的微服务架构中的分布式治理利刃,提供了分布式限流、服务降级、熔断器、重试器等容错特性,并提供了SPI、过滤器和JWT等功能。此外还提供了很多小的黑科技(如:IP黑白名单、UUID加强版、Snowflake和大并发时间戳获取等)。
Stars: ✭ 373 (-7.21%)
Mutual labels:  authentication
React Redux Jwt Authentication Example
React + Redux - JWT Authentication Tutorial & Example
Stars: ✭ 354 (-11.94%)
Mutual labels:  authentication
Two Factor Bundle
[OUTDATED] Two-factor authentication for Symfony applications 🔐 (bunde version ≤ 4). Please use version 5 from https://github.com/scheb/2fa.
Stars: ✭ 388 (-3.48%)
Mutual labels:  authentication
Shinobi
👺 Simple and light-weight role-based permissions system for Laravel's built in Auth system.
Stars: ✭ 349 (-13.18%)
Mutual labels:  authentication
Play Pac4j
Security library for Play framework 2 in Java and Scala: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 375 (-6.72%)
Mutual labels:  authentication
Slim Basic Auth
PSR-7 and PSR-15 HTTP Basic Authentication Middleware
Stars: ✭ 402 (+0%)
Mutual labels:  authentication
Ockam
End-to-end encrypted messaging and mutual authentication between cloud and edge-device applications
Stars: ✭ 395 (-1.74%)
Mutual labels:  authentication
Email2phonenumber
A OSINT tool to obtain a target's phone number just by having his email address
Stars: ✭ 379 (-5.72%)
Mutual labels:  authentication

Ruby

OmniAuth GitHub

This is the official OmniAuth strategy for authenticating to GitHub. To use it, you'll need to sign up for an OAuth2 Application ID and Secret on the GitHub Applications Page.

Installation

gem 'omniauth-github', github: 'omniauth/omniauth-github', branch: 'master'

Basic Usage

use OmniAuth::Builder do
  provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
end

Basic Usage Rails

In config/initializers/github.rb

  Rails.application.config.middleware.use OmniAuth::Builder do
    provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
  end

Github Enterprise Usage

provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'],
    {
      :client_options => {
        :site => 'https://github.YOURDOMAIN.com/api/v3',
        :authorize_url => 'https://github.YOURDOMAIN.com/login/oauth/authorize',
        :token_url => 'https://github.YOURDOMAIN.com/login/oauth/access_token',
      }
    }

Scopes

GitHub API v3 lets you set scopes to provide granular access to different types of data:

use OmniAuth::Builder do
  provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'], scope: "user,repo,gist"
end

More info on Scopes.

Semver

This project adheres to Semantic Versioning 2.0.0. Any violations of this scheme are considered to be bugs. All changes will be tracked here.

License

Copyright (c) 2011 Michael Bleigh and Intridea, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].