feaut(oicd_provider): added oicd provider rauthy and strategy for authentication
This commit is contained in:
parent
192ceaed45
commit
a6fcaa1640
8 changed files with 147 additions and 241 deletions
15
lib/accounts/user_identity.exs
Normal file
15
lib/accounts/user_identity.exs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
defmodule Mv.Accounts.UserIdentity do
|
||||
use Ash.Resource,
|
||||
data_layer: AshPostgres.DataLayer,
|
||||
extensions: [AshAuthentication.UserIdentity],
|
||||
domain: Mv.Accounts
|
||||
|
||||
user_identity do
|
||||
user_resource Mv.Accounts.User
|
||||
end
|
||||
|
||||
postgres do
|
||||
table "user_identities"
|
||||
repo Mv.Repo
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue