All Projects → authlib → Loginpass

authlib / Loginpass

Licence: bsd-3-clause
Login with Google, GitHub, Twitter, Facebook and many other networks.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Loginpass

Auth
Authenticator via oauth2
Stars: ✭ 118 (-33.33%)
Mutual labels:  oauth2, login, oauth2-client
Psraw
PowerShell Reddit API Wrapper
Stars: ✭ 42 (-76.27%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 framework for macOS and iOS, written in Swift.
Stars: ✭ 983 (+455.37%)
Mutual labels:  oauth2, oauth2-client
Capacitor Oauth2
Capacitor OAuth 2 client plugin with support for the Web, iOS and Android! Show your appreciation with a Github ★
Stars: ✭ 84 (-52.54%)
Mutual labels:  oauth2, oauth2-client
Cloudfront Auth
An AWS CloudFront [email protected] function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login
Stars: ✭ 471 (+166.1%)
Mutual labels:  oauth2, login
Auth0.js
Auth0 headless browser sdk
Stars: ✭ 755 (+326.55%)
Mutual labels:  oauth2, login
Psmsgraph
A PowerShell module for the Microsoft Graph API
Stars: ✭ 71 (-59.89%)
Mutual labels:  oauth2, oauth2-client
Tkey
以材料最全、示例最多为目标的单点登录系统(SSO)
Stars: ✭ 295 (+66.67%)
Mutual labels:  oauth2, login
Flask Oauthlib
YOU SHOULD USE https://github.com/lepture/authlib
Stars: ✭ 1,429 (+707.34%)
Mutual labels:  oauth2, oauth2-client
Hoauth2
haskell oauth2 binding
Stars: ✭ 111 (-37.29%)
Mutual labels:  oauth2, oauth2-client
Retroauth
A library build on top of retrofit, for simple handling of authenticated requests
Stars: ✭ 405 (+128.81%)
Mutual labels:  oauth2, oauth2-client
Loginsrv
JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
Stars: ✭ 1,835 (+936.72%)
Mutual labels:  oauth2, login
Oauth2
Go OAuth2
Stars: ✭ 3,941 (+2126.55%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 client in Go
Stars: ✭ 20 (-88.7%)
Mutual labels:  oauth2, oauth2-client
Oauth
🔗 OAuth 2.0 implementation for various providers in one place.
Stars: ✭ 336 (+89.83%)
Mutual labels:  oauth2, login
Socialite
Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, you can easily use it without Laravel.
Stars: ✭ 1,026 (+479.66%)
Mutual labels:  oauth2, login
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+1566.1%)
Mutual labels:  oauth2, oauth2-client
Hiauth
HiAuth是一个开源的基于Oauth2协议的认证、授权系统。
Stars: ✭ 273 (+54.24%)
Mutual labels:  oauth2, oauth2-client
Linkedin Api Php Client
LinkedIn API PHP SDK with OAuth 2 support. Can be used for social sign in or sharing on LinkedIn. Has a good usage examples
Stars: ✭ 88 (-50.28%)
Mutual labels:  oauth2, oauth2-client
Aura.auth
Provides a unified interface to local and remote authentication systems.
Stars: ✭ 121 (-31.64%)
Mutual labels:  oauth2, login

Authlib Loginpass

Social connections powered by Authlib. This library is a part of Authlib project. It works well with Authlib v0.14.3+.

Build Status PyPI Version Follow Twitter

from flask import Flask
from authlib.integrations.flask_client import OAuth
from loginpass import create_flask_blueprint
from loginpass import Twitter, GitHub, Google

app = Flask(__name__)
oauth = OAuth(app)

def handle_authorize(remote, token, user_info):
    if token:
        save_token(remote.name, token)
    if user_info:
        save_user(user_info)
        return user_page
    raise some_error

backends = [Twitter, GitHub, Google]
bp = create_flask_blueprint(backends, oauth, handle_authorize)
app.register_blueprint(bp, url_prefix='')

Useful Links

Features

Authlib Loginpass contains lots of connections (see below), every connection has a profile() method which returns the same format of user info. It supports OAuth 1, OAuth 2 and OpenID Connect for now.

The user info that profile() returns is standardized with OpenID Connect UserInfo claims, not something made by me.

Connections

Connections that Authlib Loginpass contains:

  • [x] Battle.net
  • [x] Google
  • [x] GitHub
  • [x] Gitlab
  • [x] Twitter
  • [x] Facebook
  • [x] Dropbox
  • [x] Reddit
  • [x] Linkedin
  • [x] Azure
  • [x] Discord
  • [x] Slack
  • [ ] Jira
  • [x] StackOverflow
  • [x] Bitbucket
  • [x] Auth0
  • [x] Strava
  • [x] Spotify
  • [x] Yandex
  • [x] Twitch
  • [x] VK
  • [x] Ory Hydra

Usage

Loginpass is just a simple wrapper around Authlib, it is configured apps ready to use with Flask and Django. Checkout the examples for details.

Alternatives

Most of the time, you don't have to use loginpass, you can just register a remote app with Authlib's framework integrations. Checkout our demo on OAuth clients for Flask, Django, Starlette and FastAPI:

https://github.com/authlib/demo-oauth-client

License

Loginpass is a group member of Authlib, it is licensed under BSD. Authlib commercial license applies to this project too, you can get a commercial license at Authlib Commercial Plans.

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].