Oso Authorization for SQLAlchemy
Auth & Security
Oso Authorization for SQLAlchemy
Howdy hackers - sharing a drop in integration for SQL Alchemy from Oso. Shipping this to make it easier to maintain a central authorization layer across your application, new RAG pipelines and other agentic applications that use SQLAlchemy as their ORM
What is Oso Authorization for SQLAlchemy?
Oso Authorization for SQLAlchemy is an open-source integration that brings centralized authorization logic directly into SQLAlchemy database queries. The extension allows developers to define access control rules once and automatically apply them across their application, RAG pipelines, and agentic systems that rely on SQLAlchemy as their ORM. The tool filters database queries based on an application's authorization policies, eliminating the need to duplicate permission logic across multiple layers. It supports local authorization patterns, enabling teams to keep user roles and entitlements in separate services while seamlessly incorporating them into SQLAlchemy queries without requiring data synchronization. A key feature is its compatibility with pgvector, allowing developers to build permissions-aware retrieval-augmented generation (RAG) applications that filter embeddings according to access rules. This makes it particularly useful for organizations building AI-powered search over sensitive or private data. Oso Authorization for SQLAlchemy is designed for teams that need a single source of truth for authorization across distributed systems and modern architectures. It's particularly valuable for applications handling multi-tenant data, regulated industries, or any system where maintaining consistent access control across different data sources is critical. The project is maintained on GitHub and available as open-source software.
Key Features
- Drop-in SQLAlchemy integration for centralized authorization logic
- Automatic query filtering based on application permissions and access rules
- Local authorization without requiring data synchronization across services
- Seamless integration with pgvector for secure, permissions-aware RAG applications
- Support for agentic applications and RAG pipelines with embedded access control
Screenshots
Rating & Reviews
No ratings yet
Ratings are collected from verified users inside this app.
Reviews (0)
No reviews yet
Reviews are collected from verified users via an in-app widget. Every review comes from someone actually using the product.
Claim this listing to collect verified reviews. Install a widget, your users leave reviews, and they appear in Google with star ratings.
Claim this app →Free · 2-minute setup · No credit card
Oso Authorization for SQLAlchemy Pricing
Open sourceVisit osohq.com for full pricing details.
App owners can update pricing by claiming this listing.
Similar Apps
More in auth-security →Ory
Open-source identity and access management
Hanko
Open source, privacy-first, and built to scale. Hanko is the fastest way you integrate passkeys, 2FA, SSO, and more, with full control over your data. Move between self-hosted and Hanko Cloud anytime. No lock-in. Just auth how it should be: secure, fast, user friendly, and fully yours.
SimpleLogin
Open source email alias solution to protect your email address. Comes with browser extensions and mobile apps. )
Prism
Hey HN, We’re Alex, Land, and Rajit. We’re building Prism (prismai.sh), a tool that helps browser agents authenticate onto websites with user credentials. Developers pass in credentials, Prism logs into a website on their behalf, and hands them back the cookies so they have an authenticated session
Owner of Oso Authorization for SQLAlchemy?
Verify ownership of osohq.com to unlock widgets, collect verified reviews, and manage your listing.
Click here to claim