Blog post on GraphQL authorization using oso—an open source authorization library—for enforcing authorization rules. It covers how to declaratively specify authorization rules in Polar, oso’s policy language, and how to integrate oso into a GraphQL application in only a few lines of code.

The post uses SQLAlchemy as our ORM, and Graphene — a popular Python GraphQL library. The sqlalchemy-oso library will provide the glue between oso, GraphQL and SQLAlchemy, allowing for authorization consistency.

#graphql #sqlalchemy #graphene #authorization #python

GraphQL Authorization with Graphene, SQLAlchemy and oso
2.65 GEEK