All Projects → OSSystems → python-hydra-sdk

OSSystems / python-hydra-sdk

Licence: other
Hydra SDK for Python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to python-hydra-sdk

ga-fetcher
Fetch Google Analytics data with Google APIs in Node.js 🚠
Stars: ✭ 14 (-12.5%)
Mutual labels:  oauth2
lumen-oauth2
OAuth2 module for the Lumen PHP framework.
Stars: ✭ 29 (+81.25%)
Mutual labels:  oauth2
VKontakte
[READ ONLY] Subtree split of the SocialiteProviders/VKontakte Provider (see SocialiteProviders/Providers)
Stars: ✭ 82 (+412.5%)
Mutual labels:  oauth2
rabbitmq-auth-backend-oauth2-spike
See rabbitmq/rabbitmq-auth-backend-oauth2 instead.
Stars: ✭ 17 (+6.25%)
Mutual labels:  oauth2
oauth2-server
A spec compliant, secure by default PHP OAuth 2.0 Server
Stars: ✭ 6,128 (+38200%)
Mutual labels:  oauth2
disauth
📖 A Discord OAuth2 PHP class.
Stars: ✭ 12 (-25%)
Mutual labels:  oauth2
OAuthLogin.AspNetCore
第三方平台联合登陆(facebook、微信、微博、QQ、Kakao)
Stars: ✭ 43 (+168.75%)
Mutual labels:  oauth2
oauthproxy
This is an oauth2 proxy server
Stars: ✭ 32 (+100%)
Mutual labels:  oauth2
IdentityServer4.PhoneNumberAuth
Sample passwordless phone number authentication using OAuth in ASP.NET Core 2.2
Stars: ✭ 83 (+418.75%)
Mutual labels:  oauth2
okta-spring-security-5-example
Authentication with Spring Security 5 and Okta OIDC
Stars: ✭ 16 (+0%)
Mutual labels:  oauth2
Twitch
[READ ONLY] Subtree split of the SocialiteProviders/Twitch Provider (see SocialiteProviders/Providers)
Stars: ✭ 20 (+25%)
Mutual labels:  oauth2
ertis-auth
Generic token generator and validator service like auth
Stars: ✭ 28 (+75%)
Mutual labels:  oauth2
yii-auth-client
Yii Framework external authentication via OAuth and OpenID Extension
Stars: ✭ 20 (+25%)
Mutual labels:  oauth2
omniauth-okta
OAuth2 strategy for Okta
Stars: ✭ 29 (+81.25%)
Mutual labels:  oauth2
php-google-spreadsheet-api
PHP library for read/write access to Google spreadsheets via the version 3 API.
Stars: ✭ 38 (+137.5%)
Mutual labels:  oauth2
mantle
📒 Easy and effective communication for any team or community.
Stars: ✭ 30 (+87.5%)
Mutual labels:  oauth2
schematics
Schematics for adding Okta Auth to your projects
Stars: ✭ 60 (+275%)
Mutual labels:  oauth2
google-workspace
A unofficial high level Python API wrapper for some of the productivity based Google APIs, that is focused on simplicity.
Stars: ✭ 74 (+362.5%)
Mutual labels:  oauth2
mock-oauth2-server
A scriptable/customizable web server for testing HTTP clients using OAuth2/OpenID Connect or applications with a dependency to a running OAuth2 server (i.e. APIs requiring signed JWTs from a known issuer)
Stars: ✭ 83 (+418.75%)
Mutual labels:  oauth2
native-java-examples
Native Java Apps with Micronaut, Quarkus, and Spring Boot
Stars: ✭ 44 (+175%)
Mutual labels:  oauth2

Python Hydra SDK Build Status Coverage Status

This package provides a Python SDK for Hydra OAuth2 and OpenID Connect server made in Go.

Installing

pip install hydra-sdk

Basic usage

Documentation is still in progress...

from hydra import Hydra

# First, create a Hydra client
hydra = Hydra(publichost='http://localhost:4444',adminhost='http://localhost:4445', client='client-server', secret='secret-server')

# Get an access token
token = hydra.get_access_token()

# Create a client
client = Client(
    name='new-client',
    secret='client-secret',
    scopes=['devices', 'products'],
    redirect_uris=['http://localhost/callback'],
)
client_id = hydra.clients.create(client).id

# Get a client
client = hydra.clients.get(cliente_id)

Covered API

Hydra API coverage is a work in progress. You can check what is already developed in the following list:

  • Public Endpoints
    • JSON Web Keys Discovery
    • OpenID Connect Discovery
    • The OAuth 2.0 authorize endpoint
    • Revoke OAuth2 tokens
    • The OAuth 2.0 token endpoint
    • OpenID Connect Userinfo
  • Administrative Endpoints
    • List OAuth 2.0 Clients
    • Create an OAuth 2.0 client
    • Get an OAuth 2.0 Client.
    • Update an OAuth 2.0 Client
    • Deletes an OAuth 2.0 Client
    • Retrieve a JSON Web Key Set
    • Update a JSON Web Key Set
    • Generate a new JSON Web Key
    • Delete a JSON Web Key Set
    • Fetch a JSON Web Key
    • Update a JSON Web Key
    • Delete a JSON Web Key
    • Get consent request information
    • Accept an consent request
    • Reject an consent request
    • Get an login request
    • Accept an login request
    • Reject a login request
    • Lists all consent sessions of a user
    • Revokes all previous consent sessions of a user
    • Revokes consent sessions of a user for a specific OAuth 2.0 Client
    • Logs user out by deleting the session cookie
    • Invalidates a user's authentication session
    • Flush Expired OAuth2 Access Tokens
    • Introspect OAuth2 tokens

License

Python Hydra SDK is released under MIT license.

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