Skip to main content

Add Authorization to Your API

Auth0 Fine Grained Authorization (FGA) is the early-stage product we are building at Auth0 to solve fine-grained authorization at scale. Sign up for the Developer Community Preview to try it out, and join our Discord community if you are interested in learning more about our plans.

Please note that at this point in time, it is not considered production-ready and does not come with any SLAs; availability and uptime are not guaranteed. Limitations of Auth0 FGA during the Developer Community Preview can be found here.

The following will provide a step by step guide on how to add authorization to your API.

When to use

This section is useful if you have defined an authorization model, understand how to write authorization data to Auth0 FGA, and want to learn how to update your code to start authorizing user requests.


Get Your API keys

Get your API keys from the dashboard to be able to call the Auth0 FGA API.

Install the SDK

Install and configure the SDK for the language of your choice.

Update Relationship Tuples

Programmatically write authorization data to an Auth0 FGA store.

Perform a Check

Programmatically perform an authorization check against an Auth0 FGA store.

Integrate with a Framework

Integrate authorization checks with a framework.

Advanced Integration

Learn how to handle cases such as honoring fine-grained access control checks while searching.

Have Feedback?

Join us on the Discord community if you have any questions or suggestions.