Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

oso

> 编程语言
Open source

Deprecated: See README

3.5K stars0 likes0 views
WebsiteGitHub

About

Deprecated: See README

Deprecated

We have deprecated the legacy Oso open source library. We have plans for the next open source release and we’re looking forward to getting feedback from the community leading up to that point (please reach out to us in the Slack #help channel). In the meantime, if you’re happy using the Oso open source library now, nothing needs to change – i.e., we are not end-of-lifing (EOL) the library and we’ll continue to provide support and critical bug fixes. More context: here.

Oso

What is Oso?

Oso is a batteries-included framework for building authorization in your application.

With Oso, you can:

  • Model: Set up common permissions patterns like role-based access control (RBAC) and relationships using Oso’s built-in primitives. Extend them however you need with Oso’s declarative policy language, Polar.
  • Filter: Go beyond yes/no authorization questions. Implement authorization over collections too - e.g., “Show me only the records that Juno can see.”
  • Test: Write unit tests over your authorization logic now that you have a single interface for it. Use the Oso debugger or REPL to track down unexpected behavior.

Oso offers libraries for Node.js, Python, Go, Rust, Ruby, and Java.

Our latest creation Oso Cloud makes authorization across services as easy as oso.authorize(user, action, resource). Learn about it.

Documentation

  • To get up and running with Oso, try the Getting Started guide.
  • Full documentation is available at docs.osohq.com.
  • Check out Use Cases to learn more about how teams are using Oso in production.
  • To learn about authorization best practices (not specific to Oso), read the Authorization Academy guides.

Community & Support

If you have any questions on Oso or authorization more generally, you can join our engineering team & hundreds of other developers using Oso in our community Slack:

Share your story

We'd love to hear about your use case and experience with Oso. Share your story in our Success Stories issue.

Development

Core

Oso's Rust core is developed against Rust's latest stable release.

Language libraries

Oso's language libraries can be developed without touching the Rust core, but you will still need the Rust stable toolchain installed in order to build the core.

To build the WebAssembly core for the Node.js library, you will need to have wasm-pack installed and available on your system PATH.

Language requirements

To work on a language library, you will need to meet the following version requirements:

  • Java: 11+
    • Maven: 3.6+
  • Node.js: 12.20.0+
    • Yarn 1.22+
  • Python: 3.7+
  • Ruby: 2.4+
    • Bundler 2.1.4+
  • Rust: 1.46+
  • Go: 1.14+

Contributing & Jobs

See: CONTRIBUTING.md.

If you want to work on the Oso codebase full-time, visit our jobs page.

License

See: LICENSE.

GitHub Issues· 119 open

View all on GitHub
  • #1516

    compare to casbin

    Updated Sep 4, 2026
  • #1734

    Feature request: support for string interpolation or concatenation in polar

    Updated Jun 30, 2026
  • #1748

    Dependency conflict: oso pins cffi~=1.15, incompatible with latest cryptography

    Updated Jun 27, 2026
  • #849

    [Polar] Support indexing syntax

    polarUpdated May 12, 2026
  • #1703

    Planning the next major version

    Updated Jul 28, 2025
  • #1742

    Here's a Python-based Oso alternative, if you too felt orphaned by Oso's deprecation

    Updated Jun 15, 2025
  • #791

    Support for Laravel & PHP

    enhancementUpdated Apr 19, 2025
  • #1746

    Please relax packaging pin on `sqlalchemy-oso`

    Updated Mar 12, 2025
  • #1631

    Flask-SQLAlchemy-3.0.0 breaks sqlalchemy-oso

    Updated Dec 6, 2024
  • #690

    Tree-sitter Parser for Polar

    Updated Nov 22, 2024

Highlights

  • •Filter: Go beyond yes/no authorization questions. Implement authorization over collections too - e.g., “Show me only the records that Juno can see.”
  • •Test: Write unit tests over your authorization logic now that you have a single interface for it. Use the Oso debugger or REPL to track down unexpected behavior.
  • •To get up and running with Oso, try the Getting Started guide.
  • •Full documentation is available at docs.osohq.com.
  • •Check out [Use Cases][use-cases] to learn more about how teams are using Oso in production.
  • •To learn about authorization best practices (not specific to Oso), read the Authorization Academy guides.
  • •Java: 11+
  • •Maven: 3.6+
  • •Node.js: 12.20.0+
  • •Yarn 1.22+

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言