Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / lib / pleroma / jwt.ex
1 defmodule Pleroma.JWT do
2 use Joken.Config
3
4 @impl true
5 def token_config do
6 default_claims(skip: [:aud])
7 |> add_claim("aud", &Pleroma.Web.Endpoint.url/0, &(&1 == Pleroma.Web.Endpoint.url()))
8 end
9 end