Skip to content

Commit

Permalink
fix: log error on invalid jwt (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco committed Feb 13, 2025
1 parent af322f4 commit 3f16ed8
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 23 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
run: mix format --check-formatted
- name: Credo checks
run: mix credo
- name: Run hex audit
run: mix hex.audit
- name: Run mix_audit
run: mix mix_audit
- name: Run sobelow
run: mix sobelow --config .sobelow-conf
- name: Retrieve PLT Cache
uses: actions/cache@v1
id: plt-cache
Expand Down
13 changes: 13 additions & 0 deletions .sobelow-conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
verbose: true,
private: false,
skip: false,
router: nil,
exit: :low,
format: "txt",
out: nil,
threshold: :medium,
ignore: ["Config.CSP", "Config.HTTPS"],
ignore_files: [],
version: false
]
13 changes: 7 additions & 6 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
def project do
[
app: :realtime,
version: "2.34.21",
version: "2.34.20",
elixir: "~> 1.17.3",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down Expand Up @@ -67,19 +67,20 @@ defmodule Realtime.MixProject do
{:recon, "~> 2.5"},
{:mint, "~> 1.4"},
{:logflare_logger_backend, "~> 0.11"},
{:httpoison, "~> 1.8"},
{:syn, "~> 3.3"},
{:cachex, "~> 4.0"},
{:open_api_spex, "~> 3.16"},
{:corsica, "~> 2.0"},
{:observer_cli, "~> 1.7"},
{:mock, "~> 0.3", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:floki, ">= 0.30.0", only: :test},
{:mint_web_socket, "~> 1.0", only: :test},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:benchee, "~> 1.1.0", only: :dev},
{:benchee, "~> 1.1.0", only: [:dev, :test]},
{:excoveralls, "~> 0.18", only: [:dev, :test], runtime: false},
{:floki, ">= 0.30.0", only: :test}
{:sobelow, "~> 0.13", only: [:dev, :test], runtime: false},
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false}
]
end

Expand Down
Loading

0 comments on commit 3f16ed8

Please sign in to comment.