-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use
UeberauthOidcc
as a library
- Loading branch information
1 parent
ff7f2ec
commit a2bf877
Showing
7 changed files
with
375 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
defmodule UeberauthGoogle.Application do | ||
@moduledoc false | ||
|
||
use Application | ||
|
||
@impl true | ||
def start(_type, _args) do | ||
children = [ | ||
{Oidcc.ProviderConfiguration.Worker, | ||
%{ | ||
name: UeberauthGoogle.ProviderConfiguration, | ||
issuer: "https://accounts.google.com" | ||
}} | ||
] | ||
|
||
opts = [strategy: :one_for_one, name: UeberauthGoogle.Supervisor] | ||
Supervisor.start_link(children, opts) | ||
end | ||
end |
Oops, something went wrong.