You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`get_datetime` Returns the current UTC date and time (no scope required)
33
+
-`get_datetime`- Returns the current UTC date and time (no scope required)
34
34
-`get_documents` - Returns a list of documents from a mock API. Depending on the user role, it will return private documents or not.
35
35
36
36
## Install dependencies
@@ -45,15 +45,13 @@ npm install
45
45
46
46
For detailed instructions on setting up your Auth0 tenant for MCP server integration, please refer to the [Auth0 Tenant Setup guide](https://github.com/auth0-samples/auth0-ai-samples/tree/main/auth-for-mcp/fastmcp-mcp-js/README.md#auth0-tenant-setup) in the FastMCP example.
47
47
48
-
## Auth0 FGA Setup
48
+
## FGA Setup
49
49
50
50
Auth0 FGA provides fine-grained authorization using [Relationship-Based Access Control (ReBAC)](https://docs.fga.dev/concepts#what-is-relationship-based-access-control-rebac). It's built on [OpenFGA](https://openfga.dev), a CNCF incubation project, and offers more flexible authorization patterns than traditional RBAC.
51
51
52
52
### Prerequisites
53
53
54
-
1.**Create an Auth0 FGA Account**: Sign up for free at [fga.dev](https://fga.dev)
55
-
2.**Generate API Credentials**: Follow [this guide](https://docs.fga.dev/intro/settings) to create credentials with full permissions
56
-
3.**Install the FGA CLI**:
54
+
1.**Install the FGA CLI**:
57
55
```bash
58
56
# macOS
59
57
brew install openfga/tap/fga
@@ -62,41 +60,75 @@ Auth0 FGA provides fine-grained authorization using [Relationship-Based Access C
62
60
# https://github.com/openfga/cli/releases
63
61
```
64
62
65
-
###CLI Configuration
63
+
#### To use Auth0 FGA
66
64
67
-
After creating your FGA credentials, export the following (provided during credential creation):
65
+
1.**Create an Auth0 FGA Account**: Sign up for free at [fga.dev](https://fga.dev)
66
+
2.**Generate API Credentials**: Follow [this guide](https://docs.fga.dev/intro/settings) to create credentials with full permissions
67
+
3.**Create CLI environment variables**: Configure the CLI to use the proper configuration values:
0 commit comments