Skip to content

Commit

Permalink
Merge branch 'main' into auth-methods-#183
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLab committed Mar 16, 2022
2 parents 1863c77 + ec88a03 commit b71e141
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 33 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ Once the Phoenix App is compiled/running,
you can visit [`localhost:4000`](http://localhost:4000) from your browser.


### 6. Check application status

Visit [`localhost:4000/init`](http://localhost:4000/init) to make sure that
all the environment variables are properly defined:

![image](https://user-images.githubusercontent.com/194400/152709372-6496b83d-4a8a-4a14-ba5f-f41645fe8c1c.png)


<br />

### Dependencies
Expand Down Expand Up @@ -319,4 +327,4 @@ we recommend checkout out these great resources
+ Auth Boss: <https://github.com/teesloane/Auth-Boss>
+ Introduction to OAuth2: <https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2>

![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)
![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)
4 changes: 2 additions & 2 deletions config/prod.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
Expand Down Expand Up @@ -66,4 +66,4 @@ config :auth, Auth.Repo,
ssl: dbssl,
url: System.get_env("DATABASE_URL"),
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
size: String.to_integer(System.get_env("POOL_SIZE") || "20")
size: String.to_integer(System.get_env("POOL_SIZE") || "20")
12 changes: 6 additions & 6 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Auth.Mixfile do
def project do
[
app: :auth,
version: "1.6.5",
version: "1.6.6",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
Expand Down Expand Up @@ -60,7 +60,7 @@ defmodule Auth.Mixfile do
{:telemetry_metrics, "~> 0.6.1"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.19.0"},
{:jason, "~> 1.2.2"},
{:jason, "~> 1.3"},
{:plug_cowboy, "~> 2.5.2"},

# Auth:
Expand All @@ -74,10 +74,10 @@ defmodule Auth.Mixfile do
{:envar, "~> 1.0.5"},

# https://github.com/dwyl/auth_plug
{:auth_plug, "~> 1.4.11"},
{:auth_plug, "~> 1.4"},

# https://github.com/dwyl/rbac
{:rbac, "~> 0.5.3"},
{:rbac, "~> 0.7"},

# Field Validation and Encryption: github.com/dwyl/fields
{:fields, "~> 2.8.2"},
Expand All @@ -98,7 +98,7 @@ defmodule Auth.Mixfile do
{:stream_data, "~> 0.5.0", only: :test},

# Create Documentation for publishing Hex.docs:
{:ex_doc, "~> 0.25.3", only: :dev},
{:ex_doc, "~> 0.28", only: :dev},
{:credo, "~> 1.4", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:sobelow, "~> 0.11.1", only: [:dev]}
Expand Down Expand Up @@ -126,7 +126,7 @@ defmodule Auth.Mixfile do
[
files: ~w(lib LICENSE mix.exs README.md),
name: "auth",
licenses: ["GNU GPL v2.0"],
licenses: ["GPL-2.0-or-later"],
maintainers: ["dwyl"],
links: %{"GitHub" => "https://github.com/dwyl/auth"}
]
Expand Down
Loading

0 comments on commit b71e141

Please sign in to comment.