You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
304 B

defmodule DecentralisedBookIndex.Secrets do
use AshAuthentication.Secret
def secret_for(
[:authentication, :tokens, :signing_secret],
DecentralisedBookIndex.Accounts.User,
_opts
) do
Application.fetch_env(:decentralised_book_index, :token_signing_secret)
end
end