Local copy of Pleroma, an ActivityPub server software. Contains modifications running live on fedi.underscore.world
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jwt.ex 213B

123456789
  1. defmodule Pleroma.JWT do
  2. use Joken.Config
  3. @impl true
  4. def token_config do
  5. default_claims(skip: [:aud])
  6. |> add_claim("aud", &Pleroma.Web.Endpoint.url/0, &(&1 == Pleroma.Web.Endpoint.url()))
  7. end
  8. end