mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +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,11 +38,13 @@ defmodule MyApp.Accounts.User do
|
|||
use Ash.Resource, extensions: [AshAuthentication]
|
||||
|
||||
authentication do
|
||||
auth0 do
|
||||
client_id MyApp.Secrets
|
||||
redirect_uri MyApp.Secrets
|
||||
client_secret MyApp.Secrets
|
||||
site MyApp.Secrets
|
||||
strategies do
|
||||
auth0 do
|
||||
client_id MyApp.Secrets
|
||||
redirect_uri MyApp.Secrets
|
||||
client_secret MyApp.Secrets
|
||||
site MyApp.Secrets
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -39,10 +39,12 @@ defmodule MyApp.Accounts.User do
|
|||
use Ash.Resource, extensions: [AshAuthentication]
|
||||
|
||||
authentication do
|
||||
github do
|
||||
client_id MyApp.Secrets
|
||||
redirect_uri MyApp.Secrets
|
||||
client_secret MyApp.Secrets
|
||||
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