authlib

module
v0.0.0-...-582136a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0

README

Authlib

Overview

The Authlib library provides a modular and secure approach to handling authentication and authorization within the Grafana ecosystem. It's designed to be flexible and easily adaptable to different deployment scenarios.

Key Features
  • Composability: Deploy in various configurations: in-process, on-premises gRPC, or Cloud gRPC.
  • OAuth2-Inspired Security: Leverages familiar JWT-based authentication and authorization for robust security.
  • Modular Design: Built with three core packages:
    • types: The types package is a dependency free set of types and interfaces that most consumers should depend on.
    • authn: Varius components to handle authentication and identity propagation.
    • authz: Authz client to perform authorization.
      • Single-tenant RBAC client, typically used by plugins to query Grafana for user permissions and control their access.
      • [unstable / under development] Multi-tenant client, typically used by multi-tenant applications to enforce service and user access.

Documentation

Please see the docs directory for documentation

License

This project is licensed under the Apache-2.0 license - see the LICENSE file for details.

Directories

Path Synopsis
proto/v1
Package authzv1 is a reverse proxy.
Package authzv1 is a reverse proxy.
claims module
internal
types module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL