diff --git a/app/controllers/devise_token_auth/sessions_controller.rb b/app/controllers/devise_token_auth/sessions_controller.rb index 1da523e0b..2f1cb99e6 100644 --- a/app/controllers/devise_token_auth/sessions_controller.rb +++ b/app/controllers/devise_token_auth/sessions_controller.rb @@ -68,8 +68,8 @@ def create profile:{ include: { functionalities:{} } - } - }) + } + }).merge("external_token" => {client:@client_id, token: @external_token }) } else render json: {