Packages

Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.

Current section

Files

Jump to
potionx_new templates potionx config dev.secret.exs
Raw

templates/potionx/config/dev.secret.exs

import Config
config :<%= @app_name %>, :pow_assent,
providers: [
# github: [
# strategy: Assent.Strategy.Github
# ],
azure_ad: [
client_id: "",
client_secret: "",
id_token_signed_response_alg: "RS256",
strategy: Assent.Strategy.AzureAD,
tenant_id: ""
],
google: [
strategy: Assent.Strategy.Google,
client_id: "",
client_secret: "",
authorization_params: [
access_type: "offline",
scope: "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
]
],
# twitter: [
# strategy: Assent.Strategy.Twitter
# ]
]