fix: pass signed jwt to the view instead of the whole tuple
This commit is contained in:
parent
450895110a
commit
6f1b46399e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ defmodule ComfycampWeb.OauthController do
|
|||
{access_token, refresh_token} = Accounts.generate_oauth_tokens(code.user)
|
||||
|
||||
id_token = IDToken.build_id_token(code.user, oidc_app.client_id)
|
||||
signed_id_token = Token.sign(id_token)
|
||||
{:ok, signed_id_token} = Token.sign(id_token)
|
||||
|
||||
render(conn, :token,
|
||||
access_token: access_token,
|
||||
|
|
Loading…
Reference in a new issue