Skip to content

Commit

Permalink
tidy up README and config #86
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Nov 28, 2022
1 parent 59604fc commit 3655113
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ all your authentication/authorization needs.
- [4. Attempt to view the protected route to test the authentication! 👩‍💻](#4-attempt-to-view-the-protected-route-to-test-the-authentication-)
- [That's it!! 🎉](#thats-it-)
- [_Optional_ Auth](#optional-auth)
- [Using with Liveview](#using-with-liveview)
- [Using with `LiveView`](#using-with-liveview)
- [Documentation](#documentation)
- [Development](#development)
- [Clone](#clone)
Expand Down Expand Up @@ -382,6 +382,10 @@ socket #=> #Phoenix.LiveView.Socket<
>
```

For an _example_ of this in action,
please see:



# Documentation

Expand Down Expand Up @@ -429,7 +433,9 @@ mix c

## Available information

By default using the dwylauth.herokuagit pp.com authentication service,
By default using the
[`auth`](https://github.com/dwyl/auth)
authentication service,
`auth_plug` makes the following information available in `conn.assigns`:

```
Expand Down
2 changes: 0 additions & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@ config :auth_plug,
api_key: System.get_env("AUTH_API_KEY")

if Mix.env() == :test, do: import_config("#{Mix.env()}.exs")

config :phoenix, :json_library, Jason
2 changes: 2 additions & 0 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ config :auth_plug,
api_key:
"2PzB7PPnpuLsbWmWtXpGyI+kfSQSQ1zUW2Atz/+8PdZuSEJzHgzGnJWV35nTKRwx/dwylauth.herokuapp.com",
httpoison_mock: true

config :phoenix, :json_library, Jason

0 comments on commit 3655113

Please sign in to comment.