projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move update_credentials to MastodonAPI.AccountController
[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