Feat: Allowed List of URLs for each AUTH_API_KEY
#281
Labels
chore
a tedious but necessary task often paying technical debt
discuss
Share your constructive thoughts on how to make progress with this issue
elixir
Pull requests that update Elixir code
enhancement
New feature or enhancement of existing functionality
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
Each
AUTH_API_KEY
will have anallowed_list
ofURLs
that are allowed to use the key.The default will be
localhost
and then theperson
that owns theAUTH_API_KEY
can add more e.g.app.dwyl.com
This will mitigate the issue of people using a key they don't own to attempt to authenticate
people
maliciously ...Todo
When we re-create the
api_keys
table as part of #207field: allowed_list, {:array, :string}
to store an array ofString
se.g:
Via: https://stackoverflow.com/questions/33065318/how-to-store-array-with-ecto-using-postgres |> https://hexdocs.pm/ecto/Ecto.Schema.html
The text was updated successfully, but these errors were encountered: