Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename auth0_client_id #1690

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/andi/config/integration.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use Mix.Config

System.put_env("AUTH0_DOMAIN", "urbanos-dev.us.auth0.com")
System.put_env("AUTH0_CLIENT_ID", "oRb8LbGixCD7a6T7u3sTx1Ve65nL2hWa")
System.put_env("ANDI_AUTH0_CLIENT_ID", "oRb8LbGixCD7a6T7u3sTx1Ve65nL2hWa")
System.put_env("SECURE_COOKIE", "false")
System.put_env("REQUIRE_ADMIN_API_KEY", "false")
System.put_env("RAPTOR_URL", "http://localhost:4002")
Expand Down
2 changes: 1 addition & 1 deletion apps/andi/lib/andi/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ defmodule Andi.Application do
def set_auth0_credentials() do
Application.put_env(:ueberauth, Ueberauth.Strategy.Auth0.OAuth,
domain: get_env_variable("AUTH0_DOMAIN", false),
client_id: get_env_variable("AUTH0_CLIENT_ID", false),
client_id: get_env_variable("ANDI_AUTH0_CLIENT_ID", false),
client_secret: get_env_variable("AUTH0_CLIENT_SECRET", false)
)
end
Expand Down
2 changes: 1 addition & 1 deletion apps/andi/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Andi.MixProject do
def project do
[
app: :andi,
version: "2.6.78",
version: "2.7.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
Expand Down
4 changes: 2 additions & 2 deletions apps/raptor/config/integration.exs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
use Mix.Config

System.put_env("AUTH0_DOMAIN", "urbanos-dev.us.auth0.com")
System.put_env("AUTH0_CLIENT_ID", "oRb8LbGixCD7a6T7u3sTx1Ve65nL2hWa")
System.put_env("RAPTOR_AUTH0_CLIENT_ID", "oRb8LbGixCD7a6T7u3sTx1Ve65nL2hWa")

host = "localhost"
endpoints = [{to_charlist(host), 9092}]
redix_args = [host: host]

config :ueberauth, Ueberauth.Strategy.Auth0.OAuth,
domain: System.get_env("AUTH0_DOMAIN"),
client_id: System.get_env("AUTH0_CLIENT_ID"),
client_id: System.get_env("RAPTOR_AUTH0_CLIENT_ID"),
client_secret: System.get_env("AUTH0_CLIENT_SECRET")

config :raptor, :auth0,
Expand Down
2 changes: 1 addition & 1 deletion apps/raptor/lib/raptor/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ defmodule Raptor.Application do
def set_auth0_credentials() do
Application.put_env(:ueberauth, Ueberauth.Strategy.Auth0.OAuth,
domain: get_env_variable("AUTH0_DOMAIN", false),
client_id: get_env_variable("AUTH0_CLIENT_ID", false),
client_id: get_env_variable("RAPTOR_AUTH0_CLIENT_ID", false),
client_secret: get_env_variable("AUTH0_CLIENT_SECRET", false)
)
end
Expand Down
2 changes: 1 addition & 1 deletion apps/raptor/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Raptor.MixProject do
[
app: :raptor,
compilers: [:phoenix] ++ Mix.compilers(),
version: "1.2.18",
version: "1.3.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
Expand Down