awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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·3 Aufrufeauthlib.org↗

Authlib

Authlib ist ein umfassendes Python-Framework für die Implementierung von OAuth 1.0-, OAuth 2.0- und OpenID Connect-Clients und -Servern. Es bietet ein vollständiges Toolkit für Identitätsmanagement, das die Entwicklung von Autorisierungsservern, Ressourcenservern und clientseitigen Integrationen abdeckt.

Die Bibliothek zeichnet sich durch eine vollständige Implementierung der JOSE-Spezifikationen aus, einschließlich JSON Web Tokens (JWT), Verschlüsselung, Signaturen und Schlüsseln. Sie bietet spezialisierte Funktionen für nicht-interaktive Authentifizierung mittels Service-Account-Assertion-Frameworks sowie eine Compliance-Korrekturschicht, die darauf ausgelegt ist, Identitätsanbieter zu handhaben, die von offiziellen Spezifikationen abweichen.

Das Projekt deckt ein breites Spektrum an Sicherheits- und Identitätsoperationen ab, einschließlich grant-basierter Token-Lebenszyklen, PKCE-Sicherheit und dynamischer Client-Registrierung. Zudem bietet es kryptografische Primitive für verschiedene Signaturalgorithmen sowie Hilfsmittel zur Automatisierung von Token-Updates und Persistenz in Datenspeichern.

Authlib nutzt eine pluggbare Architektur, die die Injektion verschiedener synchroner oder asynchroner HTTP-Bibliotheken ermöglicht.

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.

Star-Verlauf

Star-Verlauf für lepture/authlibStar-Verlauf für lepture/authlib

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Authlib

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Authlib.
  • authlib/authlibAvatar von authlib

    authlib/authlib

    5,346Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,346
  • doorkeeper-gem/doorkeeperAvatar von doorkeeper-gem

    doorkeeper-gem/doorkeeper

    5,501Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,501
  • spring-attic/spring-security-oauthAvatar von spring-attic

    spring-attic/spring-security-oauth

    4,693Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,693
  • openiddict/openiddict-coreAvatar von openiddict

    openiddict/openiddict-core

    5,168Auf GitHub ansehen↗

    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#
    Auf GitHub ansehen↗5,168
Alle 30 Alternativen zu Authlib anzeigen→

Häufig gestellte Fragen

Was macht lepture/authlib?

Authlib ist ein umfassendes Python-Framework für die Implementierung von OAuth 1.0-, OAuth 2.0- und OpenID Connect-Clients und -Servern. Es bietet ein vollständiges Toolkit für Identitätsmanagement, das die Entwicklung von Autorisierungsservern, Ressourcenservern und clientseitigen Integrationen abdeckt.

Was sind die Hauptfunktionen von lepture/authlib?

Die Hauptfunktionen von lepture/authlib sind: 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.

Welche Open-Source-Alternativen gibt es zu lepture/authlib?

Open-Source-Alternativen zu lepture/authlib sind unter anderem: 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…