anchor.diff:      UserAuth = op_gui_utils:get_user_rest_auth(),
       case space_logic:get_invite_provider_token(UserAuth, SpaceId) of
           {ok, Token} ->
  -            {ok, Token};
  +            {ok, [{<<"token">>, Token}]};
           {error, _} ->
               gui_error:report_error(
                   <<"Cannot get invite provider token due to unknown error.">>)
  
positive.code:             {ok, #document{
                  value = #onedata_group{
                      name = GroupName
                  }
              }} = group_logic:get(UserAuth, ParentGroupId),
              {ok, [{<<"groupName">>, GroupName}]};
          {error, _} ->
              gui_error:report_error(
  
negative.code:     UserAuth = op_gui_utils:get_user_rest_auth(),
      case group_logic:get_invite_group_token(UserAuth, GroupId) of
          {ok, Token} ->
              {ok, [{<<"token">>, Token}]};
          {error, _} ->
              gui_error:report_error(
                  <<"Cannot get invite user token due to unknown error.">>)
  