fix: derive Jason.Encoder for id token
This commit is contained in:
parent
6f1b46399e
commit
b7d1aff1d1
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
defmodule Comfycamp.SSO.IDToken do
|
defmodule Comfycamp.SSO.IDToken do
|
||||||
|
@derive Jason.Encoder
|
||||||
defstruct [:iss, :sub, :aud, :exp, :iat]
|
defstruct [:iss, :sub, :aud, :exp, :iat]
|
||||||
|
|
||||||
def build_id_token(user, client_id) do
|
def build_id_token(user, client_id) do
|
||||||
|
|
Loading…
Reference in a new issue