mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
docs: fix incorrect example in quickstarts.
This commit is contained in:
parent
6c0a11cea7
commit
a7c590bb71
2 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue