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
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,17 @@
10
10
11
11
## Getting Started
12
12
13
-
This package is compatible with the OSS OpenFGA as well as the managed Auth0 FGA service.
13
+
This package is compatible with the OSS OpenFGA as well as the managed Okta FGA service.
14
14
15
-
Please ensure you have a basic understanding of how FGA works before continuing: [OpenFGA Docs](https://openfga.dev/) or [Auth0 FGA Docs](https://docs.fga.dev/)
15
+
Please ensure you have a basic understanding of how FGA works before continuing: [OpenFGA Docs](https://openfga.dev/) or [Okta FGA Docs](https://docs.fga.dev/)
16
16
17
17
## ASP.NET Core Setup
18
18
19
19
This tutorial assumes you have authentication setup within your project, such as [JWT bearer authentication via Auth0](https://auth0.com/docs/quickstart/backend/aspnet-core-webapi/01-authorization).
20
20
21
21
Install `Fga.Net.AspNetCore` from Nuget before continuing.
22
22
23
-
### Auth0 FGA
23
+
### Okta FGA
24
24
25
25
Ensure you have a Store ID, Client ID, and Client Secret ready from [How to get your API keys](https://docs.fga.dev/integration/getting-your-api-keys).
26
26
@@ -29,20 +29,20 @@ Ensure you have a Store ID, Client ID, and Client Secret ready from [How to get
29
29
```cs
30
30
builder.Services.AddOpenFgaClient(config=>
31
31
{
32
-
config.ConfigureAuth0Fga(x=>
32
+
config.ConfigureOktaFga(x=>
33
33
{
34
34
// Change to EU/AUS depending on where your store is located
The `ConfigureAuth0Fga` extension will configure the client to work with the Auth0 US environment. An environment selector will be added as additional regions come online.
45
+
The `ConfigureOktaFga` extension will configure the client to work with the Okta US environment. An environment selector will be added as additional regions come online.
46
46
47
47
### OpenFGA
48
48
@@ -176,7 +176,7 @@ An additional pre-made attribute that allows all tuple values to be hardcoded st
176
176
177
177
### Contextual Tuples
178
178
179
-
All attributes supports specifying contextual tuples as part of a check. Inherit & override `GetContextualTuple` to provide the relevant logic in your own attribute.
179
+
All attributes supports specifying contextual tuples as part of a check. Inherit & override `GetContextualTuples` to provide the relevant logic in your own attribute.
2. Add your `StoreId`, `ClientId` and `ClientSecret`Auth0 FGA configuration **OR**`ApiUrl` & `StoreId` OpenFGA configuration to your application configuration, ideally via the [dotnet secrets manager](https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-6.0&tabs=windows#enable-secret-storage).
209
+
2. Add your `StoreId`, `ClientId` and `ClientSecret`Okta FGA configuration **OR**`ApiUrl` & `StoreId` OpenFGA configuration to your application configuration, ideally via the [dotnet secrets manager](https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-6.0&tabs=windows#enable-secret-storage).
@@ -273,4 +273,4 @@ See the [OpenFGA.Sdk docs](https://openfga.dev/docs/getting-started/setup-sdk-cl
273
273
274
274
## Disclaimer
275
275
276
-
I am not affiliated with nor represent Auth0 or OpenFGA. All support queries regarding the underlying service should go to the [Auth0 Labs Discord](https://discord.gg/8naAwJfWN6).
276
+
I am not affiliated with nor represent Okta or OpenFGA. All support queries regarding the underlying service should go to the respective support channels.
0 commit comments