Files
HaimKortovich 141104822e
Some checks failed
Build and Publish / build-release (push) Failing after 5s
add auth
2026-05-15 10:21:36 -05:00

21 lines
574 B
Elixir

defmodule ProviderService.Application do
use Application
def start(_type, _args) do
children = [
ProviderService.Repo,
ProviderService.CommandedApp,
ProviderService.Projections.ProviderProjection,
{Oidcc.ProviderConfiguration.Worker,
%{
issuer: Application.get_env(:provider_service, :zitadel)[:issuer],
name: ProviderService.ZitadelProvider
}},
ProviderServiceWeb.Endpoint
]
opts = [strategy: :one_for_one, name: ProviderService.Supervisor]
Supervisor.start_link(children, opts)
end
end