docs: fix remaining rauthy references after oidc rename
Update action names (register_with_rauthy → register_with_oidc, sign_in_with_rauthy → sign_in_with_oidc) and strategy name (:rauthy → :oidc) in docs, code comments and guidelines.
This commit is contained in:
parent
29f262e1a1
commit
12419c5237
4 changed files with 8 additions and 8 deletions
|
|
@ -983,9 +983,9 @@ defmodule Mv.Accounts.User do
|
|||
hashed_password_field :hashed_password
|
||||
end
|
||||
|
||||
oauth2 :rauthy do
|
||||
oidc :oidc do
|
||||
client_id fn _, _ ->
|
||||
Application.fetch_env!(:mv, :rauthy)[:client_id]
|
||||
Application.fetch_env!(:mv, :oidc)[:client_id]
|
||||
end
|
||||
# ... other config
|
||||
end
|
||||
|
|
@ -1866,7 +1866,7 @@ authentication do
|
|||
hashed_password_field :hashed_password
|
||||
end
|
||||
|
||||
oauth2 :rauthy do
|
||||
oidc :oidc do
|
||||
# OIDC configuration
|
||||
end
|
||||
end
|
||||
|
|
@ -2093,7 +2093,7 @@ plug :protect_from_forgery
|
|||
|
||||
```elixir
|
||||
# config/runtime.exs
|
||||
config :mv, :rauthy,
|
||||
config :mv, :oidc,
|
||||
client_id: System.get_env("OIDC_CLIENT_ID") || "mv",
|
||||
client_secret: System.get_env("OIDC_CLIENT_SECRET"),
|
||||
base_url: System.get_env("OIDC_BASE_URL")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue