awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
lepture avatar

lepture/authlib

0
View on GitHub↗
5,346 stars·542 forks·Python·BSD-3-Clause·6 vuesauthlib.org↗

Authlib

Authlib est un framework Python complet pour implémenter des clients et serveurs OAuth 1.0, OAuth 2.0 et OpenID Connect. Il fournit une boîte à outils complète pour la gestion d'identité, couvrant le développement de serveurs d'autorisation, de serveurs de ressources et d'intégrations côté client.

La bibliothèque se distingue par une implémentation complète des spécifications JOSE, incluant les JSON Web Tokens (JWT), le chiffrement, les signatures et les clés. Elle propose des capacités spécialisées pour l'authentification non interactive via des frameworks d'assertion de compte de service et une couche de correction de conformité conçue pour gérer les fournisseurs d'identité qui s'écartent des spécifications officielles.

Le projet couvre un large éventail d'opérations de sécurité et d'identité, incluant les cycles de vie des jetons basés sur les grants, la sécurité PKCE et l'enregistrement dynamique de clients. Il fournit également des primitives cryptographiques pour divers algorithmes de signature et des utilitaires pour automatiser les mises à jour de jetons et la persistance dans les magasins de données.

Authlib utilise une architecture enfichable qui permet l'injection de différentes bibliothèques HTTP synchrones ou asynchrones.

Features

  • Identity Servers - Provides a comprehensive platform for building centralized authentication, authorization, and federation servers.
  • OAuth and OpenID Connect Libraries - Provides a comprehensive suite of tools for implementing both OpenID Connect and OAuth 1.0/2.0 clients and servers.
  • JWT and Token Management - Provides comprehensive utilities for generating, signing, and validating JSON Web Tokens.
  • OAuth 1.0 Authenticators - Implements OAuth 1.0 authenticators for signing and transmitting requests to legacy APIs.
  • Access and Refresh Token Issuances - Generates signed access and refresh tokens containing identity claims based on specific grant types and scopes.
  • JWT Format Tokens - Generates access tokens in JSON Web Token format to allow for efficient local verification by relying parties.
  • Python JWT Libraries - Ships a Python library for encoding, decoding, and validating JSON Web Tokens using various algorithms.
  • Authorization Code Issuances - Issues short-lived authorization codes that confidential clients exchange for access and refresh tokens.
  • Bearer Token Authentication - Verifies the authenticity and validity of bearer tokens to protect protected resource endpoints.
  • OpenID Connect Token Validations - Parses and validates identity tokens from OpenID Connect providers to secure API access.
  • JSON Web Encryption - Implements the JWE standard for encrypting and decrypting JSON-formatted data tokens to ensure confidentiality.
  • JOSE Specifications - Provides a full implementation of JOSE specifications for signing and encrypting claims via JWS, JWE, and JWK.
  • JSON Web Signatures - Implements the JWS standard to create signed payloads and ensure data integrity.
  • JWT Parsing - Translates compact JWT strings back into payload dictionaries through decryption or signature validation.
  • Token Encodings - Creates signed JWT strings by encoding a payload and header with a cryptographic key.
  • JWT Claim Validation - Verifies standard claims within JSON Web Tokens against essential fields and allowed values.
  • JSON Web - Provides specialized management of keys following the JSON Web Key standard for token distribution.
  • OAuth 1.0 Authentication Strategies - Manages the full lifecycle of OAuth 1.0 authentication for both clients and providers.
  • OAuth 2.0 Authorization Flows - Executes multiple standard OAuth 2.0 grant types, including authorization code, implicit, and client credentials.
  • OAuth 2.0 Client Implementations - Provides an OAuth 2.0 client implementation capable of making asynchronous HTTP requests to protected endpoints.
  • OAuth 2.0 Authorization Servers - Provides a server implementation that manages client registrations, identifiers, secrets, and redirect URIs.
  • OAuth 2.0 Resource Servers - Implements OAuth 2.0 resource servers that validate access tokens and verify required scopes for API protection.
  • Authorization Server Implementations - Provides a full framework for building OAuth authorization servers that manage consent and issue tokens.
  • Grant-Based Token Lifecycles - Models authorization flows as distinct grant types to handle the logic of exchanging credentials for tokens.
  • OIDC Protocol Implementations - Implements a complete OpenID Connect client for authenticating users via external identity providers.
  • Grant Handling - Handles diverse OIDC grant flows, including Code, Implicit, and Hybrid, with mandatory nonce verification.
  • Outgoing Request Signing - Enables cryptographic signing of outbound HTTP requests to ensure authenticity and integrity.
  • Server Capability Discovery - Exposes standardized server capabilities and supported algorithms via a public endpoint to automate client configuration.
  • OAuth Client Registrations - Implements standard OAuth discovery and dynamic client registration endpoints for automated client onboarding.
  • Authorization Management - Validates authorization requests and generates the credentials required to grant third-party access to resources.
  • OAuth 1.0 Provider Implementations - Manages the issuance of tokens and validates signed requests from third-party OAuth 1.0 clients.
  • Access Token Applications - Provides functionality to attach access tokens to outgoing HTTP requests for authenticated API access.
  • Token Issuance Tracking - Tracks token issuance and associates tokens with specific users and clients for server-side management.
  • Token Revocation - Provides a revocation endpoint that allows clients to invalidate access or refresh tokens.
  • Assertion-Based Authentications - Authenticates service accounts using signed tokens to request access without interactive user login.
  • ECDSA Signing Implementations - Produces digital signatures using the Elliptic Curve Digital Signature Algorithm with P-curves and SHA-2 hashes.
  • RSA Signing Implementations - Employs RSA public-key cryptography with PKCS1v15 or PSS padding for asymmetric signing and verification.
  • Consent Management - Provides tools for managing user consent and validating requests for authorization pages.
  • Octet Key Pair Management - Implements importing and exporting of cryptographic keys using specific digital signature and key exchange algorithms.
  • ECDH-ES Implementations - Provides implementations of the Elliptic Curve Diffie-Hellman Ephemeral Static algorithm for encryption within the JWE framework.
  • HMAC JWT Signers - Generates cryptographic signatures for JSON Web Tokens using shared symmetric keys and HMAC-SHA-2.
  • Service Account Authorization - Automates service account authorization using assertions and private keys for server-to-server communication.
  • Service Account Authenticators - Supports non-interactive service account authentication using signed tokens and assertions.
  • OAuth Device Flows - Implements OAuth 2.0 device authorization flows for devices with limited input capabilities.
  • Identity Provider Compliance Fixes - Applies technical corrections to identity provider responses to ensure they align with official protocol specifications.
  • JSON Web Key Imports - Converts PEM, JSON, or bytes into standardized JSON Web Key structures for various algorithms.
  • Key Resolution - Provides mechanisms to resolve the correct cryptographic key for token verification by matching key identifiers in headers.
  • Client Authentications - Secures token endpoints by signing client authentication requests using secret or private key profiles.
  • PKCE Authorization Flows - Secures authorization flows by implementing Proof Key for Code Exchange (PKCE) for public clients.
  • Metadata Publication - Exposes standardized configuration endpoints that describe server capabilities and endpoints according to RFC 8414.
  • OAuth Client Authentications - Verifies client identities using HTTP Basic, POST parameters, and custom authentication functions.
  • UserInfo Endpoints - Provides a protected endpoint that returns authenticated user profile data as JSON or signed JWTs.
  • JWT Token Validators - Verifies the signature and claims of JSON Web Tokens to protect resource endpoints.
  • Token Introspection - Implements token introspection to verify the current validity and metadata of a token via a remote endpoint.
  • EdDSA Signatures - Uses the Edwards-curve Digital Signature Algorithm to create secure digital signatures for tokens and payloads.
  • JWT Grant Validation - Validates signed JSON Web Tokens used as authorization grants to issue access tokens.
  • Device Grant Implementations - Implements the OAuth 2.0 Device Authorization Grant for authenticating users on input-limited hardware.
  • Pushed Authorization Requests - Implements pushed authorization requests by transmitting payloads as signed JWTs to increase integrity.
  • OAuth Client Metadata Validations - Provides verification of registered client configurations to enforce security constraints like redirect URIs.
  • Pluggable - Features a pluggable architecture allowing users to swap synchronous or asynchronous HTTP client implementations.
  • Authentication and Authorization - Authentication library for OAuth and OpenID.
  • Authentication Libraries - Comprehensive library for OAuth and OpenID services.

Historique des stars

Graphique de l'historique des stars pour lepture/authlibGraphique de l'historique des stars pour lepture/authlib

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Authlib

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Authlib.
  • authlib/authlibAvatar de authlib

    authlib/authlib

    5,346Voir sur GitHub↗

    Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a unified set of tools to manage authentication and authorization flows, allowing applications to either act as a client connecting to external identity providers or as a provider issuing tokens and managing user identities. The project distinguishes itself through a full implementation of the JOSE standards, offering a suite of cryptographic tools for generating, signing, encrypting, and validating JSON Web Tokens, Signatures, Encryption, and Keys.

    Pythondjangoflaskjose
    Voir sur GitHub↗5,346
  • doorkeeper-gem/doorkeeperAvatar de doorkeeper-gem

    doorkeeper-gem/doorkeeper

    5,501Voir sur GitHub↗

    Doorkeeper is an OAuth 2 authorization server and provider for Ruby on Rails and Grape applications. It provides the necessary framework to build an authorization server that issues and validates security tokens for third-party applications, effectively acting as a security middleware to protect API endpoints. The project integrates an identity layer via OpenID Connect to verify user identities and retrieve profile information. It supports a variety of security patterns, including the implementation of the PKCE flow for public clients and the issuance of stateless JSON Web Tokens. Its broade

    Ruby
    Voir sur GitHub↗5,501
  • spring-attic/spring-security-oauthAvatar de spring-attic

    spring-attic/spring-security-oauth

    4,693Voir sur GitHub↗

    This project is an OAuth security framework for Java web applications. It provides a set of tools for adding authentication and authorization to Spring applications using standardized delegated authorization protocols. The library implements both OAuth 1.0a and OAuth 2.0 standards. For OAuth 2.0, it includes implementations for both the client side, to request access tokens and consume protected resources, and the provider side, to issue access tokens and manage authorization grants. The framework covers API authorization workflows, securing communication between applications, and managing d

    Java
    Voir sur GitHub↗4,693
  • openiddict/openiddict-coreAvatar de openiddict

    openiddict/openiddict-core

    5,168Voir sur GitHub↗

    This project is a .NET identity stack and server framework used to build certified OpenID Connect and OAuth 2.0 identity providers. It provides the core logic required to issue and validate security tokens and manage user authentication across various grant types and protocol flows. The framework includes a protocol translation layer that bridges OpenID Connect and SAML to enable interoperability between different identity providers. It also supports a stateless mode of operation, which removes built-in validation and storage to allow for manual control over token and client verification. Th

    C#
    Voir sur GitHub↗5,168
Voir les 30 alternatives à Authlib→

Questions fréquentes

Que fait lepture/authlib ?

Authlib est un framework Python complet pour implémenter des clients et serveurs OAuth 1.0, OAuth 2.0 et OpenID Connect. Il fournit une boîte à outils complète pour la gestion d'identité, couvrant le développement de serveurs d'autorisation, de serveurs de ressources et d'intégrations côté client.

Quelles sont les fonctionnalités principales de lepture/authlib ?

Les fonctionnalités principales de lepture/authlib sont : Identity Servers, OAuth and OpenID Connect Libraries, JWT and Token Management, OAuth 1.0 Authenticators, Access and Refresh Token Issuances, JWT Format Tokens, Python JWT Libraries, Authorization Code Issuances.

Quelles sont les alternatives open-source à lepture/authlib ?

Les alternatives open-source à lepture/authlib incluent : authlib/authlib — Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect… doorkeeper-gem/doorkeeper — Doorkeeper is an OAuth 2 authorization server and provider for Ruby on Rails and Grape applications. It provides the… spring-attic/spring-security-oauth — This project is an OAuth security framework for Java web applications. It provides a set of tools for adding… openiddict/openiddict-core — This project is a .NET identity stack and server framework used to build certified OpenID Connect and OAuth 2.0… ory/hydra — Hydra is a headless identity server that functions as a certified OAuth2 and OpenID Connect provider. It is designed… jwtk/jjwt — This is a Java library and framework for creating, parsing, and validating JSON Web Tokens within Java and Android…