docs: fix incorrect example in quickstarts.

This commit is contained in:
James Harton 2023-01-19 13:10:33 +13:00
parent 6c0a11cea7
commit a7c590bb71
2 changed files with 13 additions and 9 deletions

View file

@ -38,6 +38,7 @@ defmodule MyApp.Accounts.User do
use Ash.Resource, extensions: [AshAuthentication]
authentication do
strategies do
auth0 do
client_id MyApp.Secrets
redirect_uri MyApp.Secrets
@ -45,6 +46,7 @@ defmodule MyApp.Accounts.User do
site MyApp.Secrets
end
end
end
end
```

View file

@ -39,12 +39,14 @@ defmodule MyApp.Accounts.User do
use Ash.Resource, extensions: [AshAuthentication]
authentication do
strategies do
github do
client_id MyApp.Secrets
redirect_uri MyApp.Secrets
client_secret MyApp.Secrets
end
end
end
end
```